i need to move a file from dir A to dir B with ant.
File's name can have unspecified extension such开发者_StackOverflow as logo.png, logo.gif, logo.jpg and go on.
Can you help me, please?
Regards
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>
精彩评论