Skip to content

Instantly share code, notes, and snippets.

@syl20bnr
Created May 13, 2013 15:36
Show Gist options
  • Save syl20bnr/5569234 to your computer and use it in GitHub Desktop.
Save syl20bnr/5569234 to your computer and use it in GitHub Desktop.
Remove all empty directories recursively.
while rmdir **/*(/N^F); do :; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment