fam
[Top] [All Lists]

Re: [fam] how to tell what a file has been changed *to*?

To: Ben <bench@xxxxxxxxxxxxxxx>
Subject: Re: [fam] how to tell what a file has been changed *to*?
From: Michael Wardle <michael.wardle@xxxxxxxxxx>
Date: Fri, 08 Mar 2002 09:32:43 +1100
Cc: fam@xxxxxxxxxxx
Organization: Adacel Technologies
References: <Pine.LNX.4.30.0203071034200.23531-100000@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: owner-fam@xxxxxxxxxxx
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.8+) Gecko/20020304
Ben wrote:
Say I monitor directory x with FAM. If I move x/foo to x/bar, I get 2
notifications; x/bar was created, and x/foo was deleted. Unfortuantely,
that's not good enough... I need to know that x/bar is the same file as
x/foo. Ideally, I'd like the notification of a change to include the
previous and current filenames, but in the abscense of that, what can I
do?

FAM has an unsupported event called FAMMoved. I think some of the framework is there, but it must not be fully working yet.

If anybody wants to help get this working, you would be most welcome. :-)

Regards

--
MICHAEL WARDLE                |  WORK   +61-2-6024-2699
SGI Desktop & Admin Software  |  MOBILE +61-415-439-838
Adacel Technologies Limited   |  WEB    http://www.adacel.com/



--
Source code, list archive, and docs: http://oss.sgi.com/projects/fam/
To unsubscribe: echo unsubscribe fam | mail majordomo@xxxxxxxxxxx

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