• 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
Re: Using Applescript to Sync and Mount drives etc.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Prev by Date: Script does not return focus to FileMaker window
  • Next by Date: Re: on the lack of documentation (was: Re: on neophytes vs perfectionists)
  • Previous by thread: Re: Script does not return focus to FileMaker window
  • Next by thread: Re: on the lack of documentation (was: Re: on neophytes vs perfectionists)
  • Index(es):
    • Date
    • Thread