Monitoring the directory

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

On Sat, Mar 21, 2009 at 7:08 AM, Loga G.
[email protected] wrote:

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

Sean O’halpin wrote:

On Sat, Mar 21, 2009 at 7:08 AM, Loga G.
[email protected] wrote:

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

Ya both the modules are working fine. Thank you for your reply.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs