Skip to content

Instantly share code, notes, and snippets.

@bq1990
Created March 25, 2016 04:38
Show Gist options
  • Save bq1990/741f9c845f0cdf2a0564 to your computer and use it in GitHub Desktop.
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
find . -type f -print -delete
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment