Created
August 5, 2020 18:15
-
-
Save cmbaughman/3f9353f114607e6ddd399f91add5a936 to your computer and use it in GitHub Desktop.
Clean up empty directories relative to the current directory
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
find . -type d -empty -exec rm -i -R {} \; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment