Skip to content

Instantly share code, notes, and snippets.

@bgerstle
Last active August 29, 2015 13:56
Show Gist options
  • Save bgerstle/8995094 to your computer and use it in GitHub Desktop.
Save bgerstle/8995094 to your computer and use it in GitHub Desktop.
Delete all empty directories (except those in ".git")
find . -empty -not -path "./.git*" -delete
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment