对find的文件批处理 xargs 与 exec

 find -type f|xargs -i cp {} ./dir/

 find . -type f -exec ls -l {} \;

删除:

 find -type f -exec rm {} \;
 find -type f | xargs rm -rf

发布了26 篇原创文章 · 获赞 8 · 访问量 1万+

猜你喜欢

转载自blog.csdn.net/wuli13141516/article/details/104420095