Re: Watching a directory

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



on 14:06 Wed 16 Mar, Jason Slack-Moehrle (slackmoehrle.lists@xxxxxxxxx) wrote:
> 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?

make

-- 
Dr. Ed Morbius, Chief Scientist /            |
  Robot Wrangler / Staff Psychologist        | When you seek unlimited power
Krell Power Systems Unlimited                |                  Go to Krell!
_______________________________________________
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