Ant 目标将目录移出另一个目录
如何使用 Ant 任务将目录移动到一个目录?
我的目录结构如下:
my/directory/root
|-dir1/one/same/lib
|-dir2/two/same/lib
|-dir3/three/same/lib
|-dir4/four/same/lib
我想移动和缩放文件夹“same/lib”并将其移动到“my/directory/root”
(最后:我的/目录/root/same/lib)
How to move directories to one directory using an Ant task?
My directory structure is like:
my/directory/root
|-dir1/one/same/lib
|-dir2/two/same/lib
|-dir3/three/same/lib
|-dir4/four/same/lib
And I would like to move and scale folders "same/lib" and move it to "my/directory/root"
(finally: my/directory/root/same/lib)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
像这样的东西应该有效:
参考:
;
任务Something like this should work:
Reference:
<move>
task查看 Ant Move 任务。
请尝试以下操作:
Take a look at the Ant Move Task.
Try the following: