在Linux下,如果一个文件夹下文件太多,使用rm删除就有可能会出现/bin/rm: Argument list too long错误。

ls|xargs rm -f

 

搞定。。。