Re: Folder action for modified file
Re: Folder action for modified file
- Subject: Re: Folder action for modified file
- From: Philip Aker <email@hidden>
- Date: Mon, 13 Jul 2009 20:11:44 -0700
On 2009-07-13, at 12:51:24, John Masters wrote:
Is there a way to get a file duplicated to another folder every time
it is modified and saved. I have a Folder Action script that works
OK if I create a file in, say, Pages, but after it is created I have
to copy the file manually every time it changes.
I think it could be solved in AppleScript using a stay open applet and
an idle handler which will act on changed file modification dates.
Look into <x-man-page://rsync> (which can be called from your script)
as an alternative to strictly AppleScript code.
At a low unix level, <x-man-page://2/kqueue> can detect when a folder
has been modified. You could do the synchronization at that level as
well.
Philip Aker
echo email@hidden@nl | tr a-z@. p-za-o.@
Democracy: Two wolves and a sheep voting on lunch.
_______________________________________________
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