Created
March 25, 2016 04:38
-
-
Save bq1990/741f9c845f0cdf2a0564 to your computer and use it in GitHub Desktop.
Linux delete all files in a directory when you get the argument list too long error
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
find . -type f -print -delete |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment