Skip to content

Instantly share code, notes, and snippets.

@mbchoa
Created April 7, 2015 13:37
Show Gist options
  • Save mbchoa/44295185f9a36725ff4a to your computer and use it in GitHub Desktop.
Save mbchoa/44295185f9a36725ff4a to your computer and use it in GitHub Desktop.
Recursively force remove files and directories in current directory and all sub-directories in Unix
find . -name "NAME" -print0 | xargs -0 rm -rf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment