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.
| Tags | Python Pyinotify inotify rsync synchronization |
|---|---|
| Licenses | GPLv2 |
| Operating Systems | Unix Linux |
| Implementation | Python Pyinotify |
Recent releases


Release Notes: Note that this is the last version in Python 2. The next version will be only in Python 3. Pyinotify.py has been updated to 0.9.1 (20110405). An SSH port parameter for synchronization of SSH has been added. The trailing slash (/) requirement for source and destination path has been removed. Pyinotify.py version 3 for pirsyncd.Py3k has been added.


Release Notes: OptionParser epilog has changed to description. An rsync + pyinotify exclude pattern has been added.


Release Notes: Pyinotify has been updated in version 0.9.0 (20100604). The rsync option "--safe-links" has been added.


Release Notes: The code for duplicate inode events was rewritten using Python dictionary. The option to run in the foreground was added. Code for mirroring in the first run without looking at inode events was added. Code styling was improved, and a pylint score of 7.35 was achieved. Global variables were redefined.


Release Notes: A Counter variable was added for inode events (not from the command line). A code to disable duplicate inode events was added.