Skip to content

Instantly share code, notes, and snippets.

@mariorez
Last active December 26, 2015 03:58
Show Gist options
  • Save mariorez/4b7cf62329fa5c4788b0 to your computer and use it in GitHub Desktop.
Save mariorez/4b7cf62329fa5c4788b0 to your computer and use it in GitHub Desktop.
A faster way to delete millions of files in a directory
rsync -a --delete /path-to/empty/ /path-to/source/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment