分页: 12/21 第一页 上页 7 8 9 10 11 12 13 14 15 16 下页 最后页 [ 显示模式: 摘要 | 列表 ]

Linux下Find与cp、rm结合的应用 不指定

root , 2007/09/22 15:00 , Linux , 评论(0) , 阅读(10783) , Via 本站原创
引用

一、find and cp
find /home -name '*.conf'|xargs -I {} cp -r {} /home/conf/

引用

二、find and rm
find /home -name 'test-file-*' | xargs rm -rf
Tags:
分页: 12/21 第一页 上页 7 8 9 10 11 12 13 14 15 16 下页 最后页 [ 显示模式: 摘要 | 列表 ]