Skip to content

Instantly share code, notes, and snippets.

@roblogic
Last active September 7, 2022 20:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save roblogic/ff22aca63c6fc260d547a6150e4d603a to your computer and use it in GitHub Desktop.
Save roblogic/ff22aca63c6fc260d547a6150e4d603a to your computer and use it in GitHub Desktop.
rsync with minimal fuss, matching in size only. much faster than archive mode, does not bother with checksums. also removes crud from torrent dls
cd /Volumes/Seagate-6TB
find . -name "*YTS.*.jpg" -or -name "*YIFY-TORRENTS*" -or -name "*YTSProxies*" \
-or -name "*.exe" -or -name "*torrentgalaxy*" -or -name "RARBG*txt" \
-or -name "WWW.YTS.*.jpg" \
-delete
rsync -ivPr --size-only --delete /Volumes/Seagate-6TB/@tv-series /Volumes/Seagate-8TB
rsync -ivPr --size-only --delete /Volumes/Seagate-6TB/movies2022 /Volumes/Seagate-8TB
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment