Linux批量删除某些类型文件的命令

以前我以为只是用 #rm -rf /*.gif 就可以了,现在才发现原来有更好用的命令.

#find . -name '*.gif' -print0 | xargs -0 rm -rf

sicnature ---------------------------------------------------------------------
Your current IP address is: 54.197.75.176
Your IP address location: 美国
Your IP address country and region: 美国 美国
Your current browser is:
Your current system is:
Original content, please indicate the source:
同福客栈论坛 | 海南仙岛海南乡情论坛 | JiaYu Blog
sicnature ---------------------------------------------------------------------
Welcome to reprint. Please indicate the source http://www.myzhenai.com.cn/post/811.html

Tags: , ,

Leave a Reply