Re: Folder Actions in OS X.
Re: Folder Actions in OS X.
- Subject: Re: Folder Actions in OS X.
- From: Timothy Bates <email@hidden>
- Date: Tue, 23 Oct 2001 11:11:38 +1000
On 22/10/01 7:29 PM, "Simon Forster" <email@hidden> wrote:
>
Folder actions seem to be missing in OS X, not that I'm surprised. Is
>
there an easy way to find out that a folder has changed in Unix land? At
>
this point in time I'm happy to use Project Builder and C to get
>
something functional in place. I'm sort of hoping that there's some
>
system call available that alerts when the file system changes a
>
directory structure - but this is probably a naive hope!?
Apps send this signal to the Finder as a courtesy to ask it to update, but
that is no help to you.
If you grab a BSD osax, ls -l gives you what you want. (just tried it - I
did
ls -l
-->drwx------ 4 tim staff 264 Oct 19 22:46 Movies
Then dropped a movie of Steve Balmer dancing on stage showing us all why
Microsoft domination would place the world into the stone age.
A second ls -l then gives:
drwx------ 5 tim staff 126 Oct 23 11:07 Movies
Looks like that is the droid you want.