Skip to content

Instantly share code, notes, and snippets.

@johnnyshankman
Last active January 2, 2026 20:44
Show Gist options
  • Select an option

  • Save johnnyshankman/03eefec40ffc48bc55b1d72ab04d1430 to your computer and use it in GitHub Desktop.

Select an option

Save johnnyshankman/03eefec40ffc48bc55b1d72ab04d1430 to your computer and use it in GitHub Desktop.
Copying files from music folder to rockbox with rsync
rsync --ignore-existing -v -P -r -h itunes /Volumes/IPOD/Music
@johnnyshankman
Copy link
Author

johnnyshankman commented Dec 29, 2025

Example of a mirror sync (dangerous!) where orphaned/deleted files in the source are also deleted on the destination:

rsync -av --delete itunes/ /Volumes/IPOD/Music/itunes/

⚠️ This would delete anything in the destination that isn’t in the source.
⚠️ Can take hours with 1000s of songs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment