Skip to content

Instantly share code, notes, and snippets.

@johnnyshankman
Last active August 16, 2026 21:49
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
rsync --ignore-existing -v -P -r -h itunes /Volumes/MusicSD/Music
@johnnyshankman

johnnyshankman commented Feb 6, 2025

Copy link
Copy Markdown
Author

don't forget to run rockbox utility app using sudo from the CLI when installing rockbox instead of double clicking on the app icon.

@johnnyshankman

johnnyshankman commented Dec 29, 2025

Copy link
Copy Markdown
Author

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