Skip to content

Instantly share code, notes, and snippets.

@cwvhogue
Created October 21, 2013 17:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • 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