Reputation: 4228
i need to move a file from dir A to dir B with ant.
File's name can have unspecified extension such as logo.png, logo.gif, logo.jpg and go on.
Can you help me, please?
Regards
Upvotes: 0
Views: 2261
Reputation: 52635
This snippet moves all files with name starting with logo.
from A
to B
. Perhaps you are looking for something similar?
<move todir="B">
<fileset dir="A">
<include name="**/logo.*"/>
</fileset>
</move>
Upvotes: 2