Terminal and rsync
When I go to the terminal and type:
rsync -av --force --delete --size-only ~/Music/iTunes/"iTunes Music"/Music ~/Desktop/"iTunes Sync/" > ~/Documents/AutomatorLogs/iTunesMSync.log
Then this command is working. It's creating a copy from the Music folder of iTunes and place this on the Desktop in the folder iTunes Sync.
It's just what I want only the destination folder needs to be the Time Capsule.
To mount mine Time Capsule (HD is named Data) I go to the Finder menu and select 'Connect with server' then I typ:
afp://10.0.1.1/Data/iTunes Sync
The volume is mounted and I can read/write from the Finder to it. When I change mine command line to:
rsync -av --force --delete --size-only ~/Music/iTunes/"iTunes Music"/Music /Volumes/"iTunes Sync"/ > ~/Documents/AutomatorLogs/iTunesMSync.log
I'll get the following error:
rsync: recv_generator: mkdir "/Volumes/iTunes Sync/Music" failed: Permission denied (13)
* Skipping everything below this failed directory *
rsync error: some files could not be transferred (code 23) at /SourceCache/rsync/rsync-37.3/rsync/main.c(992) [sender=2.6.9]
Someone knows how to handle this?
MacBook Pro 2,66 GHz / iMac 2.4 GHz / Mac Mini (PPC), Mac OS X (10.6.2)