If change in a directory then do some action in linux

Posted by user194469 on Stack Overflow See other posts from Stack Overflow or by user194469
Published on 2010-04-01T06:01:43Z Indexed on 2010/04/01 6:03 UTC
Read the original article Hit count: 302

Filed under:
|
|

Hi All,

I want to store the file and file information into the database automatically, when any file is inserted into the directory.

Let suppose, in the /etc directory, we store some log files. And if we are inserted new file into /etc directory or change any existing file then automatically these file information should be go to specific database table.

How can i do that.

Regards, Amit

© Stack Overflow or respective owner

Related posts about linux

Related posts about automatically