Charlie Farinella <[EMAIL PROTECTED]> writes:

> On Wednesday 16 January 2008, Peter Scott wrote:
>> On Tue, 15 Jan 2008 15:13:29 -0500, Charlie Farinella wrote:
>> > I need to monitor a directory and when a file is created, modify it.  
>> > I've been playing with Linux::Inotify2 and may be able to make that 
>> > work, but am wondering if this is something that people do 
> routinely.
>> > 
>> > My search at CPAN wasn't particularly fruitful.
>> 
>> Did you see File::Monitor?
>> 
>
> I didn't, but it looks good, thank you.  I actually have something 
> working using Linux::Inotify2.  I'll play with this one and see which 
> one works better for me.
>
> thanks again.

Charlie,
Have you encountered having to do this on MS-windows OS?  If you have
can you tell a little about how to set it up?

I spent most of a day trying to find something that will notice when
files are created but recursively.  I found vbs scripts that I know
nothing about but only one directory [no recusion], but wondered if
perl can do it on the MS-windows OS.

I expected there to be lots of good tools since it would seem kind of
natural for security oriented software to be able to notice file
creation. 

There are tools out there but one must download and try usually only
to find it is something really sorry like `foldmonkey' or the like. 

Even with perl running from linux on a cifs mount would be ok.  If
that situation is capable of handling whatever it needs to with
MS-windows OS.

Maybe File::AnySpec?

I wasn't able to make heads of tails of the Description on cpan. 
(probably not their fault)



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to