【发布时间】:2017-04-01 00:51:05
【问题描述】:
我有多个不同名称的文件夹:folderA、FolderB 等。 每个文件夹中都有多个文件:fileA、fileB、fileC 等。
我想搜索所有这些文件夹并仅将特定文件复制到新位置但具有相同的父文件夹名称:例如我要生成:
new_location/folderA/fileA
new_location/folderA/fileC
new_location/folderB/fileA
new_location/folderB/fileC
任何人都可以建议可以完成此任务的 unix 命令吗?
谢谢
罗伯
【问题讨论】:
标签: unix search copy-paste