Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am trying to understand how inotify works and it seems that you need to program stuff in C for it to work.

Since I don't know C, I was wondering if there is a program or script already made to monitor a single directory.

Thanks in advance for your suggestions. Regards

share|improve this question
Hi thanks for your response. Do you think it's reliable/trustworthy? You can put it up as an answer if you wish. Thanks a lot – ericd Sep 22 '12 at 2:29
It's been around for quite some time, and is widely used. You can make whatever assumptions you want from that. – EEAA Sep 22 '12 at 2:37
1 – quanta Sep 22 '12 at 2:45
Thanks a lot. Looking into that. – ericd Sep 22 '12 at 2:53
up vote 1 down vote accepted

Check out incron. Incron uses the inotify kernel hooks to let you run cron-like commands when certain specified events happen on the filesystem.

share|improve this answer
Thanks a lot for that – ericd Sep 22 '12 at 2:40

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.