Created
October 21, 2013 17:42
-
-
Save cwvhogue/7087884 to your computer and use it in GitHub Desktop.
I use this to remove Windows hierarchies made on Manta - pathnames with spaces e.g. "/New folder (2)/"
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
mfind -t o ~~/stor/winfoo | xargs -I {} mrm "{}" | |
mfind -t d ~~/stor/winfoo | sort -r | xargs -I {} mrmdir "{}" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment