Watching a directory

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Hi All,

I am thinking about an idea, but it requires that I be able to watch several directories for files that are added, deleted or maybe changed. 

Let start with adding files. What tools are available for me to watch a directory. In an example, if a file is added to a directory I want to run a shell script that will do some conversation on the file to produce a second copy.

I have the shell scripting down, I am not sure how to watch, realize change and kick off the script with the parameters of the directory and what was added.

Would anyone have thoughts?

-Jason
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux