Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2007-10

File monitoring

3 messages · 2 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

ik

Hello,

I was wondering if there is an existed file monitor unit/library etc.. for Linux ?

I'm looking for such daemon/unit/library/code that will be able to do as follows:
1. Monitor mask of files
2. LGPL or library that it's license allows me to use it also for commercial use.
3. Ability to monitor specific changes, like file update, creation of a file, deletion etc.. each one as a specific event.
4. Written in Pascal :)

Thank you,

Ido

Krishna
to ik
ik wrote 12 lines
Hello, I was wondering if there is an existed file monitor unit/library etc.. for Linux ? I'm looking for such daemon/unit/library/code that will be able to do as follows: 1. Monitor mask of files 2. LGPL or library that it's license allows me to use it also for commercial use. 3. Ability to monitor specific changes, like file update, creation of a file, deletion etc.. each one as a specific event.

FAM. On newer kernels, inotify provides this functionality.

4. Written in Pascal :)

Not sure if Pascal bindings exist. But I think creating one is straightforward.

Cheers,
-Krishna

One reason that life is complex is that it has a real part and an imaginary part -Andrew Koenig
ik
to Krishna

Thank you for the answer.

Krishna wrote 26 lines
On 10/24/07, ik wrote: > Hello, > > I was wondering if there is an existed file monitor unit/library etc.. > for Linux ? > > I'm looking for such daemon/unit/library/code that will be able to do > as follows: > 1. Monitor mask of files > 2. LGPL or library that it's license allows me to use it also for > commercial use. > 3. Ability to monitor specific changes, like file update, creation of > a file, deletion etc.. each one as a specific event. FAM. On newer kernels, inotify provides this functionality. > 4. Written in Pascal :) > Not sure if Pascal bindings exist. But I think creating one is straightforward. Cheers, -Krishna -- One reason that life is complex is that it has a real part and an imaginary part -Andrew Koenig

Ido