When the argument list is too long, the rm command can not work, it is limit to os.
solution 1:
rm dir, recreate the dir.
solution 2:
find /path/to -name "*.png" -exec rm {} ;
[@more@]来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/545828/viewspace-995736/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/545828/viewspace-995736/