【发布时间】:2020-09-05 15:08:23
【问题描述】:
我在 directory1 中有很多文件(libX11.so.6、tm.txt、ff.txt.. 等等),我需要将 directory1 的这些文件复制到许多其他名为 directory2、3 的目录中。 .....100000。我尝试了 find 命令,但它不起作用。下面给出了我的示例在线代码。任何人都可以使用 shell 或 python 提出一些更好的解决方案...提前致谢。
find . -type f -name "libX11.so.6, tm.txt, ff.txt" -exec cp -rv {} /home/geo/data/directory{2...100000} \;
执行此操作时显示错误
【问题讨论】: