Skip to content

Instantly share code, notes, and snippets.

@qdzlug
Forked from cwvhogue/manta_hierarchy_remove.sh
Last active August 29, 2015 14:16
Show Gist options
  • Save qdzlug/b933609b13d1cb0ca703 to your computer and use it in GitHub Desktop.
Save qdzlug/b933609b13d1cb0ca703 to your computer and use it in GitHub Desktop.
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