fam
[Top] [All Lists]

Re: [fam] Monitoring Subdirectories w/ Fam

To: "Pooja Goyal" <pgoyal@xxxxxxxxxxxxxx>, <fam@xxxxxxxxxxx>
Subject: Re: [fam] Monitoring Subdirectories w/ Fam
From: "Michael WARDLE" <michael.wardle@xxxxxxxxxx>
Date: Fri, 3 May 2002 12:08:55 +1000
References: <200205021953.g42Jrwdq028998@xxxxxxxxxxxxxxxxxx>
Sender: owner-fam@xxxxxxxxxxx
----- Original Message -----
From: "Pooja Goyal" <pgoyal@xxxxxxxxxxxxxx>
To: <fam@xxxxxxxxxxx>
Sent: Friday, May 03, 2002 5:53 AM
Subject: [fam] Monitoring Subdirectories w/ Fam


> I was wondering if anyone knew how to monitor subdirectories using
FAM.
> Basically, If I ask FAM to monitor a directory, I want it to monitor
all
> existing subdirectories within it as well. Right now I just get
> "subdirectory changed" however I want more detailed information like
what
> the change was. Also, if create a new subdirectory in the directory
being
> monitored, I want FAM to start monitoring the new subdirectory as
well.
> Any help will be appreciated.

FAM doesn't monitor subdirectories implicitly.  I think you'll have to
test if a new file created is a directory, then express an interest in
the new directory in your own code.

I hope this helps.

--
MICHAEL WARDLE
SGI Desktop & Admin Software
Adacel Technologies Limited

Attachment: Michael Wardle.vcf
Description: Vcard

<Prev in Thread] Current Thread [Next in Thread>