VicBalta has asked for the wisdom of the Perl Monks concerning the following question:
HI
My question is about monitoring a directory. I have two directories on different boxes that are the same. The only problem is that they are both not updated at the same time. So I want to make a program that will monitor the directory that is going to be changed. And when a change happens it will make the changes to the other box. i.e. adding files, deleting folders. I know how to do this part but I want to know what is the best way to monitor a directory to see if any thing has changed. So i can have a process that is constantly monitoring the changeable directory. Also would it be able to monitor if any permission have been changed?
Any would be great thanks
Victor
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Monitoring Directories for changes
by hopes (Friar) on Dec 08, 2001 at 00:08 UTC | |
|
Re: Monitoring Directories for changes
by perrin (Chancellor) on Dec 08, 2001 at 00:44 UTC | |
by belg4mit (Prior) on Dec 08, 2001 at 08:57 UTC | |
by perrin (Chancellor) on Dec 10, 2001 at 21:59 UTC | |
by belg4mit (Prior) on Dec 11, 2001 at 01:35 UTC | |
by merlyn (Sage) on Dec 11, 2001 at 01:51 UTC | |
|
Re: Monitoring Directories for changes
by belg4mit (Prior) on Dec 07, 2001 at 23:58 UTC |