rm -rf /testdir/*
-bash: /bin/rm: Argument list too long
解决: cd /testdir/; ls | xargs rm -rf
转载于:https://www.cnblogs.com/ManMonth/p/4286888.html