I'm looking for a tool which will monitor changes in a given directory
(i.e. new file creation).
When a new file is created in the directory, I would like to run my own
script (obviously, with the name of the file as one of its parameters).
Tool has to be able to work from command line (i.e. be usable without
interaction, in a script).
I think I'm looking for a tool supporting "directory change
notification", for which I found some info on MSDN[1], but it is very
low level info requiring programming.
If someone is familiar with Linux - it has a subsystem called "inotify";
if I used "inotifywait" program to trace changes to /tmp/1/ directory
and created "some_file" file, I would see such output:
/tmp/1/ CREATE some_file
/tmp/1/ OPEN some_file
/tmp/1/ MODIFY some_file
/tmp/1/ MODIFY some_file
/tmp/1/ MODIFY some_file
/tmp/1/ CLOSE_WRITE,CLOSE some_file
Is anyone familiar with a similar tool which could be used with Windows
2003?
[1]
http://msdn.microsoft.com/en-us/libr...61(VS.85).aspx
--
Tomasz Chmielewski
http://wpkg.org