Skip to content

Instantly share code, notes, and snippets.

@cwvhogue
Created October 21, 2013 17:42
Show Gist options
  • Save cwvhogue/7087884 to your computer and use it in GitHub Desktop.
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)/"
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