Skip to content

Instantly share code, notes, and snippets.

@seripap
Created June 16, 2015 20:22
Show Gist options
  • Save seripap/e1403f3d8ef26d329037 to your computer and use it in GitHub Desktop.
Save seripap/e1403f3d8ef26d329037 to your computer and use it in GitHub Desktop.
Find + Delete DIR
# Directory
find / -type d -name '*wildcard*' -exec rm -r "{}" \;
@seripap
Copy link
Author

seripap commented Jul 7, 2015

# Same dir
find . -type d -name '*wildcard*' -exec rm -r "{}" \;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment