Re: monitoring file modifications
Re: monitoring file modifications
- Subject: Re: monitoring file modifications
- From: David Feldman <email@hidden>
- Date: Sat, 8 Dec 2001 18:39:50 -0500
I know nothing about Md5, not even what it is. Is there an appropriate
Web page where I might learn?
--Dave
On Saturday, December 8, 2001, at 03:53 PM, Vince DeMarco wrote:
On Friday, December 7, 2001, at 08:41 am, David Feldman wrote:
Does the OS send out any kind of monitorable event when a file is
modified on disk?
(I'm still working on fast, effective sync between a desktop and
laptop, and the best way would be if each machine could keep a current
list of its own modified files. The best way to do that, I think,
would be if the sync program could listen for modified files instead
of searching the entire directory structure every so often.)
I would instead keep a Md5 hash of each file and not rely on the date
at all. if the two machines clocks are not in sync then it will be kind
of useless.
You could store the Md5 hash of the original file then you could tell
on which machine the file changed. then ask the user which on to keep
etc...
(Md5 is part of Openssl etc...)
vince