首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 其他教程 > 操作系统 >

find应用

2012-06-28 
find使用删除当前目录下不为目录的普通文件。?find / ! -type d -maxdepth 1 -name [a-zA-Z]*| xargs rm

find使用

删除当前目录下不为目录的普通文件。

?

find / ! -type d -maxdepth 1 -name '[a-zA-Z]*'| xargs rm -f

热点排行