Monitoring the directory

L

Loga Ganesan

Hi
Is there any pre-defined module available in ruby to monitor a given
directory.

monitoring in the sense,
* When ever a new file is created or removed inside that
directory
* When ever a new directory is created or removed inside that
directory

Likewise , is there any standard module available in ruby to monitor a
file growth
 
S

Sean O'Halpin

Hi
=A0 Is there any pre-defined module available in ruby to monitor a given
directory.

monitoring in the sense,
=A0 =A0 =A0 =A0 * When ever a new file is created or removed inside that
directory
=A0 =A0 =A0 =A0 * When ever a new directory is created or removed inside = that
directory

Likewise , is there any standard module available in ruby to monitor a
file growth

$ sudo gem install directory_watcher file-tail

http://github.com/TwP/directory_watcher/tree/master

http://file-tail.rubyforge.org/

HTH
Sean
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,230
Members
46,816
Latest member
SapanaCarpetStudio

Latest Threads

Top