如何在unix中移动或复制’find’命令列出的文件?

我有一个列表,我看到使用以下命令的某些文件,但如何将这些文件列出到另一个文件夹,说〜/ test?
find . -mtime 1 -exec du -hc {} +
添加到Eric Jablow的答案,这里是一个可能的解决方案(它为我工作 – linux mint 14 / nadia)
find /path/to/search/ -type f -name "glob-to-find-files" | xargs cp -t /target/path/

您也可以参考“How can I use xargs to copy files that have spaces and quotes in their names?”。

相关文章

用的openwrt路由器,家里宽带申请了动态公网ip,为了方便把2...
#!/bin/bashcommand1&command2&wait从Shell脚本并行...
1.先查出MAMP下面集成的PHP版本cd/Applications/MAMP/bin/ph...
1、先输入locale-a,查看一下现在已安装的语言2、若不存在如...
BashPerlTclsyntaxdiff1.进制数表示Languagebinaryoctalhexa...
正常安装了k8s后,使用kubect工具后接的命令不能直接tab补全...