Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

monitor a particular directory

by balakrishnan (Monk)
on Dec 29, 2008 at 13:08 UTC ( #733016=perlquestion: print w/ replies, xml ) Need Help??
balakrishnan has asked for the wisdom of the Perl Monks concerning the following question:

i need the module to monitor a particular directory for the files creation or modification. I want to have files list when the files under the particular directory not modified for some specific duration.

Thanks,

Comment on monitor a particular directory
Re: monitor a particular directory
by zwon (Monsignor) on Dec 29, 2008 at 13:29 UTC
    You can take a look onto Linux::Inotify2 for directory monitoring, though it's Linux specific and seems not exactly what you want.
Re: monitor a particular directory
by Perlbotics (Abbot) on Dec 29, 2008 at 13:29 UTC
Re: monitor a particular directory
by sathiya.sw (Monk) on Dec 29, 2008 at 14:24 UTC
    You may be interested in this module File::Monitor
    Sathiyamoorthy
Re: monitor a particular directory
by fmerges (Chaplain) on Dec 29, 2008 at 15:09 UTC

    Hi,

    If you're using POE or as a source of inspiration, you can also take a look at POE::Component::DirWatch.

    Regards,

    fmerges at irc.freenode.net
Re: monitor a particular directory
by spmlingam (Scribe) on Dec 30, 2008 at 06:22 UTC
    The module Sys::Gamin can help you to monitor directories.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://733016]
Approved by ww
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (11)
As of 2014-10-21 17:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (106 votes), past polls