`
zjc801
  • 浏览: 21135 次
  • 性别: Icon_minigender_1
  • 来自: 西安
最近访客 更多访客>>
社区版块
存档分类
最新评论

linux下find的两个牛逼应用

 
阅读更多

find -name "*.orig" -exec mv {} /tmp/back/ \; --------将当前目录下。orig结尾的文件移动到/tmp/back目录下


find -name "*.conf" -exec cp {} {}.orig \;--------将当前目录下.conf结尾的文件复制到当前目录下且以.orig结尾

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics