fam
[Top] [All Lists]

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

To: <fam@xxxxxxxxxxx>
Subject: [fam] how to tell what a file has been changed *to*?
From: Ben <bench@xxxxxxxxxxxxxxx>
Date: Thu, 7 Mar 2002 10:42:35 -0800 (PST)
Sender: owner-fam@xxxxxxxxxxx
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?

We're currently md5'ing an entire (large) directory every night to pick up
on moves, deletes, and additions, and I'd like to get away from that for
obvious reasons.


--
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>