Skip to content

Instantly share code, notes, and snippets.

@sercheo87
Last active June 30, 2019 02:19
Show Gist options
  • Save sercheo87/3e12169a247962ad82bb6be3aca212b8 to your computer and use it in GitHub Desktop.
Save sercheo87/3e12169a247962ad82bb6be3aca212b8 to your computer and use it in GitHub Desktop.
# Find all folders by name target
find . -name 'target' -type d
# Delete all folders by name target
rm -rf `find . -name target -type d`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment