Re: File Monitoring

2004-05-10 Thread Robin Sheat
On Mon, May 10, 2004 at 08:35:53AM -0600, Wiggins d Anconia wrote: > There is a directory watching component in POE or you could grow your There is also the FAM daemon, which taps into the kernel to do it. I'm sure that there is a perl module to talk to that. -- Robin <[EMAIL PROTECTED]>

Re: File Monitoring

2004-05-10 Thread Dani Pardo
NYIMI Jose (BMB) wrote: Is this a joke ? :-) Here's a typical diff output: 17,18d16 < (who writes under the < pseudonym "Omniscient Trash") 45,46c43,44 < soon every Tom, Dick or Harry < will be writing his own Perl book --- soon every Tom, Randal and Larry will be writing their own Perl book

RE: File Monitoring

2004-05-10 Thread NYIMI Jose (BMB)
> -Original Message- > From: Wiggins d Anconia [mailto:[EMAIL PROTECTED] > Sent: Monday, May 10, 2004 6:02 PM > To: NYIMI Jose (BMB); PerlDiscuss - Perl Newsgroups and > mailing lists; [EMAIL PROTECTED] > Subject: RE: File Monitoring > > > > >

RE: File Monitoring

2004-05-10 Thread NYIMI Jose (BMB)
> -Original Message- > From: Dani Pardo [mailto:[EMAIL PROTECTED] > Sent: Monday, May 10, 2004 4:25 PM > To: [EMAIL PROTECTED] > Subject: Re: File Monitoring > > > Hi, I've done this app. What I do is put into a file the > output of > ls -lR /di

RE: File Monitoring

2004-05-10 Thread Wiggins d Anconia
> > -Original Message- > > From: Wiggins d Anconia [mailto:[EMAIL PROTECTED] > > Sent: Monday, May 10, 2004 4:36 PM > > To: PerlDiscuss - Perl Newsgroups and mailing lists; > > [EMAIL PROTECTED] > > Subject: Re: File Monitoring > > [snip] >

RE: File Monitoring

2004-05-10 Thread NYIMI Jose (BMB)
> -Original Message- > From: Wiggins d Anconia [mailto:[EMAIL PROTECTED] > Sent: Monday, May 10, 2004 4:36 PM > To: PerlDiscuss - Perl Newsgroups and mailing lists; > [EMAIL PROTECTED] > Subject: Re: File Monitoring [snip] > There is a directory watching compon

Re: File Monitoring

2004-05-10 Thread Dani Pardo
Hi, I've done this app. What I do is put into a file the output of ls -lR /directory_to_watch. Then use diff to compare the results. This gives the advantage that, if a line starts with +, then a new file has been added. If it's -, a file has been deleted :) $ ls -lR > listing1.txt $ ls -l

Re: File Monitoring

2004-05-10 Thread Wiggins d Anconia
> Hi there, > > Can anyone recommend a good way to have a perl script that constantly > monitors for the creation of new files on UNIX and launches another > process? > > Thanks! > > Cheers, > Ben > Lee's method would be the sufficient underkill way. I have an application that does this type o

Re: File Monitoring

2004-05-10 Thread JupiterHost.Net
PerlDiscuss - Perl Newsgroups and mailing lists wrote: Hi there, Hello, Can anyone recommend a good way to have a perl script that constantly monitors for the creation of new files on UNIX and launches another process? Not sure if someone else recommended this but: [untested code - for example

File Monitoring

2004-05-10 Thread PerlDiscuss - Perl Newsgroups and mailing lists
Hi there, Can anyone recommend a good way to have a perl script that constantly monitors for the creation of new files on UNIX and launches another process? Thanks! Cheers, Ben -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]