简单的删除文件问题# Unix - 噫吁兮,危乎高哉l*e2006-11-02 08:111 楼在unix下面用什么参数可以删除所有子目录下的含有特定文件啊?比如想删除所有名字里面含有ss的文件,有类似与DOS下面del *ss* /s的命令吗?多谢
c*t2006-11-02 08:112 楼do:rm `find . -name "*ss*"`【在 l******e 的大作中提到】: 在unix下面用什么参数可以删除所有子目录下的含有特定文件啊?: 比如想删除所有名字里面含有ss的文件,有类似与DOS下面: del *ss* /s: 的命令吗?: 多谢
a*12006-11-02 08:113 楼not working if whitespaces show up in a filename containing 'ss'【在 c*****t 的大作中提到】: do:: rm `find . -name "*ss*"`
m*n2006-11-02 08:114 楼find . -name \*ss\* -exec rm {} \;【在 a*****1 的大作中提到】: not working if whitespaces show up in a filename containing 'ss'