Skip to content

Instantly share code, notes, and snippets.

@haferman
Created September 28, 2024 01:04
Show Gist options
  • Select an option

  • Save haferman/63fe7d0955021f2e623da6373bca5c27 to your computer and use it in GitHub Desktop.

Select an option

Save haferman/63fe7d0955021f2e623da6373bca5c27 to your computer and use it in GitHub Desktop.
Deleting lots of small files: rsync and empty directory
mkdir empty_dir
rsync -a --delete empty_dir/ yourdirectory/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment