A Ruby interface for monitoring events related to files and directories on NTFS using change journals.
C Ruby
Switch branches/tags
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
examples
ext
test
CHANGES
MANIFEST
README
Rakefile
win32-changejournal.gemspec

README

== Description
   A class for monitoring events related to files and directories on NTFS.

== Installation
=== Gem Installation
   gem install win32-changejournal
=== Local Installation
   rake install

== Synopsis
   require 'win32/changejournal'
   include Win32

   # Indefinitely wait for a change in 'C:\' and any of its
   # subdirectories. Print the file and action affected.
   cj = ChangeJournal.new("C:\\")

   cj.wait{ |array|
      array.each{ |info|
         p info.file_name
         p info.action
         p info.path
      }
   }

   cj.delete
	
== Notes
   Based on what the MSDN documentation says, this library requires NTFS, and
   should be preferred on that filesystem. On FAT filesystems, you should
   use the win32-changenotify library instead.

== Acknowledgements
   This library was originally based on the CJTest module by Jeffrey
   Cooperstein & Jeffrey Richter.
	
== Future Plans
   Add a method for iterating over all change records.

== Known Bugs  
   None that I know of. Please log any bug reports on the RubyForge
   project page at http://www.rubyforge.net/projects/win32utils

== License
   Artistic 2.0
    
== Copyright
   (C) 2003-2009 Daniel J. Berger, All Rights Reserved
    
== Warranty
   This library is provided "as is" and without any express or
   implied warranties, including, without limitation, the implied
   warranties of merchantability and fitness for a particular purpose.

== Authors
   Park Heesob
   Daniel J. Berger