Re: Using Applescript to Sync and Mount drives etc.
Re: Using Applescript to Sync and Mount drives etc.
- Subject: Re: Using Applescript to Sync and Mount drives etc.
- From: "Roger Howard" <email@hidden>
- Date: Mon, 5 Jan 2009 11:29:13 -0800 (PST)
On Wed, December 24, 2008 2:47 am, Richard Brown wrote:
> Is it possible to write a script that will firstly check for the
> drives and then sync only changed folders from the nas to the mac and
> delete folders if they are deleted please? Is this the best tool?
> Thanks.
Given what you've described, I'd be using rsync to perform the
synchronization between these boxes - it's very flexible, powerful, and is
the closest thing to a standard, cross-platform tool for this. You could
use AppleScript as a front-end to rsync, but I wouldn't try to replicate
what rsync does in AppleScript.
If you're using rsync and having permissions issues, you either look to
resolve those permissions issues, or fix them prior to each sync (you
could run a local script to chmod everything to a sane condition before
running rsync), or perhaps run rsync as root to at least ignore the
permissions issues during the sync.
-R
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden