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 Jan 15, 2025

for putting it on some Untitled sd card:

Puts an "itunes" folder in the Music folder (I use this personally)

rsync --ignore-existing -vPrh itunes /Volumes/Untitled/Music

Takes everything in the itunes folder, puts it in the destination itunes folder root level (no new folder named itunes copied)

rsync --ignore-existing -vPrh itunes/ /Volumes/Untitled/Music/itunes

@johnnyshankman
Copy link
Author

johnnyshankman commented Feb 6, 2025

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
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