TonyTromp / filewatcherd

A python daemon to process files based on file-system events. The original usecase was to process files after upload was completed or if a file was deleted.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

filewatcherd

Description: This daemon will watch a particular folder for filesystem changes (kernel-inotify) and executes scripts depending on the event. This can be used to check if a file upload/copy/mv has succeeded and execute the script as result, or if a file is deleted. The functionality can be easily extended to hold other filesystem events, but for this purpose it will also serve fine.

Dependencies: pip install pyinotify

About

A python daemon to process files based on file-system events. The original usecase was to process files after upload was completed or if a file was deleted.


Languages

Language:Python 46.9%Language:Shell 28.7%Language:Haskell 24.4%