rsync and backup
rsync and backup
- Subject: rsync and backup
- From: John Cochrane <email@hidden>
- Date: Wed, 9 Aug 2006 14:19:43 +1000
Hi Applescripters
I have been testing a scripts to sync a large folder of many items to a
mounted volume over a slow Airport network.
If I use rsync (with thanks to Gnarlie)
do shell script " rsync -Eavz 'sourcePosixPath' 'destinationPosixPath'
--delete --progress"
all works well but the syncing (even after the initial run) takes about
45-50 minutes.
Using the terminal is not much better.
If I use the backup command (thanks to Emmanuel's Satimage osax)
backup sourceAlias to destinationAlias level 2
then the sync only takes about 2 minutes - great improvement.
The only problem is that the 'backup' command does not delete items
from the destination that are not in the source folder, which is what I
would like.
I am puzzled as to why the rsync command is so much slower. Any
suggestions how I might achieve syncing at backup's blinding speed
while deleting folders would be greatly appreciated.
John
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden