On Mon, Nov 22, 2010 at 11:36, Ludwig, Michael
<michael.lud...@delphi-mb.de> wrote:
>> From: Andrey Repin
>> Sent: Monday, November 22, 2010 5:11 PM
>
>> > Any ideas of any software that can handle this.
>>
>> You'd be surprised, but the very filesystem (in Unix/Linux at
>> least) support
>> trigger mechanism. All you need is to write appropriate filter.
>
> I think one such mechanism for Linux is called inotify.
>
> There should be similar facilities for Windows.

System.IO.FileSystemWatcher in the .NET Framework.
http://msdn.microsoft.com/en-us/library/system.io.filesystemwatcher.aspx

FSEvents on MacOS X 10.5 and up.

> Of course, there is a low-level API, but I'm thinking of
> something that allows you to write:
>
> OnCreateFile: call somescript.cmd
> OnCreateDir:  perl someperl.pl
>
> The generic name should be *file system event monitor*.
> But I haven't used any.
>
> Michael
>

Reply via email to