P is for Practical | |
PerlMonks |
Re: Monitor Directory modificationby ides (Deacon) |
on Nov 12, 2006 at 16:55 UTC ( [id://583575]=note: print w/replies, xml ) | Need Help?? |
None that I'm aware of. Best way to do this is to have whatever is modifying the directory ( adding files, editing files, etc ) drop a empty file of a specific name, launch a script, or some other marker when it has modified something. Second best option, is to just manually, using either cron or a long running process with some sleep() intervals, look for changes in the files. Hope that helps.
Frank Wiles <frank@revsys.com>
In Section
Seekers of Perl Wisdom
|
|