Created
July 29, 2014 16:39
-
-
Save tspicer/fce40c53db64df5188e1 to your computer and use it in GitHub Desktop.
remove files without touch subdir
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 /path/ -type f -print0 | xargs -0 -I file rm -f file |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment