Re: [CentOS] Watching a directory

2011-03-17 Thread Nicolas Ross
> On Wed, 16 Mar 2011, R P Herrold wrote: > >> On Wed, 16 Mar 2011, Jason Slack-Moehrle wrote: >> >>> Would anyone have thoughts? >> >> don't reinvent the wheel >> >> inotify builds and works fine on CentOS 5 > > And it should be available by default in CentOS 6. > > -Connie Sieh (sorry, I don't h

Re: [CentOS] Watching a directory

2011-03-17 Thread Connie Sieh
On Wed, 16 Mar 2011, R P Herrold wrote: > On Wed, 16 Mar 2011, Jason Slack-Moehrle wrote: > >> Would anyone have thoughts? > > don't reinvent the wheel > > inotify builds and works fine on CentOS 5 And it should be available by default in CentOS 6. -Connie Sieh > > -- Russ herrold >

Re: [CentOS] Watching a directory

2011-03-16 Thread Trutwin, Joshua
> 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 just was working on something like this today - yum

Re: [CentOS] Watching a directory

2011-03-16 Thread Dr. Ed Morbius
on 14:06 Wed 16 Mar, Jason Slack-Moehrle (slackmoehrle.li...@gmail.com) 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

Re: [CentOS] Watching a directory

2011-03-16 Thread Brian Mathis
On Wed, Mar 16, 2011 at 5:12 PM, R P Herrold wrote: > On Wed, 16 Mar 2011, Jason Slack-Moehrle wrote: > >> Would anyone have thoughts? > > don't reinvent the wheel > > inotify builds and works fine on CentOS 5 > > -- Russ herrold In particular, 'incron' is very cool. I have just started using it

[CentOS] Watching a directory

2011-03-16 Thread R P Herrold
On Wed, 16 Mar 2011, Jason Slack-Moehrle wrote: > Would anyone have thoughts? don't reinvent the wheel inotify builds and works fine on CentOS 5 -- Russ herrold ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos

[CentOS] Watching a directory

2011-03-16 Thread Jason Slack-Moehrle
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