Last active
March 16, 2018 15:57
-
-
Save eekfonky/3cf23e16de5e4fed647a056be3279494 to your computer and use it in GitHub Desktop.
Remove all directories but not files
This file contains hidden or 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
find -mindepth 1 -maxdepth 1 -type d -exec rm -r {} \; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment