Syncing iTunes Music folders using rsync

Very much a work in progress. This took about 15min over a wireless connection, for 3000 songs on my Powerbook to the desktop machine. Shouldn't be used on anything other than 10.4 Tiger because the "E" flag is specific to that version, which keeps Apple resource fork information when copying.

rsync -rtE --progress iTunes/iTunes\ Music/ yourothercomputer.com:/Volumes/MaxtorBlue/Music

You'll be prompted for your password on the remote machine (assumes you have the same username on both machines).

  • r: recurse into directories
  • t: maintain the time stamp on the files
  • E: keeps Apple resource forks intact
  • progress: scrolls by a list of transfers and how long they take

Comments

Error

The posting resulted in this error:

 Syncing iTunes Music folders using rsync

user warning: Can't open file: 'cache_page.MYI' (errno: 145) query: DELETE FROM cache_page WHERE expire != 0 AND expire < 1193931477 in /var/www/html/includes/database.mysql.inc on line 172.

Very much a work in progress. This took about 15min over a wireless connection, for 3000 songs on my Powerbook to the desktop machine. Shouldn't be used on anything other than 10.4 Tiger because the "E" flag is specific to that version, which keeps Apple resource fork information when copying.

Works great

This solution works great, thanks.

It's incredible fast and gives a good view on how the process is.

I dumped Folder Synchronizer therefore to the trash. 

Syncing to a Linux Server?

Any ideas on how this can be used for easy backup to a Linux server? I know the Linux server will not recognize the -E argument. Will the backup be any good without the -E argument?

Good question

Yeah, I think you need the -E .... not sure how this could be stored on a file system other than HFS+ ?

Thanks for this. I have it

Thanks for this. I have it running right now!