
Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [tlug] Unix tool to monitor files for changes
Josh wrote:
> I need to monitor a set of directories and files for changes, and do
> something when a file changes.
How fast do you need to do the something?
Later he added:
> I don't want to grab the changes made at an interval, even if that
> interval is one minute; I want *every* single change to an inode.
So even polling every second would not suffice.
(Neverminding that polling sucks.)
> The use case is this:
>
> When someone writes a change to a file, I want to immediately "svn
> commit" that file. This will result in lots of small revisions, but
> the ability to go back to any revision.
What if you grab a file that is in the _middle_ of being written to?
Yikes!
Jim
Home |
Main Index |
Thread Index