• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
rsync and backup
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: rsync and backup
      • From: Andrew Oliver <email@hidden>
    • Re: rsync and backup
      • From: Gnarlodious <email@hidden>
    • Re: rsync and backup
      • From: Matthew Smith <email@hidden>
  • Prev by Date: A little help with a folder cleanup script
  • Next by Date: Re: rsync and backup
  • Previous by thread: Re: A little help with a folder cleanup script
  • Next by thread: Re: rsync and backup
  • Index(es):
    • Date
    • Thread