Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我需要使用 ant 将文件从目录 A 移动到目录 B。
文件名可以有未指定的扩展名,例如 logo.png、logo.gif、logo.jpg 等等。
你能帮我吗?
问候
logo.此代码段将所有名称以from开头的文件移动A到B。也许您正在寻找类似的东西?
logo.
A
B
<move todir="B"> <fileset dir="A"> <include name="**/logo.*"/> </fileset> </move>