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://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

GitHub - TwP/directory_watcher: Event notification for file system changes

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

HTH
Sean

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