python - Perform additional actions upon read or write to filesystem -
python - Perform additional actions upon read or write to filesystem -
how can perform additional shell actions when file read or written linux mounted filesystem (local or otherwise)?
i'm looking to:
make database or rpc calls (via bash,perl,python, etc) when specific file extensions written (known application specific extensions) identify process read or wrote file (and identify dependencies file if possible)i seem remember beingness possible ld_ variant (preload etc.) unsure on specifics.
pyinotify need: http://pyinotify.sourceforge.net/
i've used in past hacky way trigger emails whenever file downloaded or uploaded via sftp monitoring sftp log file , parsing log messages.
python linux perl linux-kernel filesystems
Comments
Post a Comment