[Ilugc] Just want to watch changes in directory.

  • From: mehul.n.ved@xxxxxxxxx (Mehul Ved)
  • Date: Sun Sep 20 02:14:24 2009

On Sun, Sep 20, 2009 at 1:43 AM, narendra sisodiya
<narendra.sisodiya@xxxxxxxxx> wrote:

Hi all,
? ? ? I want to have a daemon which will monitor changes in a directory.
Lets say /home/narendra/Download , Whenever user make a cut copy paste
operation into this directory that daemon will be notified and he will take
some action (like file moving , sorting etc).
? ? ?I know bash shell scripting and C++. How can i make this utility.
Small pointers are needed.

What about inotify[1] and inotify tools[2]?

1. http://en.wikipedia.org/wiki/Inotify
2. http://inotify-tools.sourceforge.net/

Other related posts: