当要删除的文件太多时,rm -f *.xxx 会因文件太多而溢出无法执行。
用下面命令不会溢出:
find . -name "*.trc" -exec rm -f {} \;
find . -name "*.trm" -exec rm -f {} \;
用下面命令不会溢出:
find . -name "*.trc" -exec rm -f {} \;
find . -name "*.trm" -exec rm -f {} \;
746

被折叠的 条评论
为什么被折叠?