• 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: Folder Actions in OS X.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


References: 
 >Folder Actions in OS X. (From: Simon Forster <email@hidden>)

  • Prev by Date: Re: copy & set statements
  • Next by Date: Re: copy & set statements
  • Previous by thread: Folder Actions in OS X.
  • Next by thread: Folder Actions in OS X.
  • Index(es):
    • Date
    • Thread