Hello, I have just installed a CentOS 5.5 server, I created a directory named (/PVT), Under /PVT I created three directories (A, B, and C for example), there are also three shell scripts (A1.sh, B1.sh, C1.sh) related to A B and C directories.
I need the script A1.sh to run every time a new file/directory is created under directory A at any level, also the script B1 to run every time a new file is created under directory B, and so for C.. Can that be done with Perl and do you recommend using Perl for such a task?
If that can be done with Perl please provide an example..
Thanks,
Zanooda