rm: Argument list too long

rm -rf  /testdir/*

-bash: /bin/rm: Argument list too long

解决: cd /testdir/; ls | xargs rm -rf

原文地址:https://www.cnblogs.com/ManMonth/p/4286888.html