3 projects tagged "inotify"
pirysncd is an attempt to write a daemon to watch a directory for kernel write notifications and then execute an rsync command to synchronize two different directories (local or remote). This is a poor man's mirroring or an alternative (not so) real data replication mechanism based on Pyinotify.
Pylsyncd is a Python implementation, similar to lsyncd, that uses rsync to synchronize local directories with several remote machines running rsyncd. Pylsyncd recursively monitors a set of directories using pyinotify, a pure Python module used for monitoring filesystems changes that relies on inotify. The main advantage of pylsyncd against lsyncd is that it uses message queues in order to synchronize several destination servers in parallel, saving up time when it is required to have more than one destination. It has been tested in heavily loaded environments.
BAD (BAckup Daemon) "watches" a directory and copies any files or directories moved/copied into it to another "backup" directory automatically using inotify. It will automatically generates hashes for files using the md5 hashing algorithm, and stores them in a file for quick and easy integrity checking. It will log (mostly) everything it's doing, and makes it very convenient to grep for certain messages using multiple logging levels which the user can set to get the desired output. It has its own built-in uninstaller which will delete any and all files it has created (besides the user's watch and backup directories).