This is a file synchonizer written in python, made for comparing and syncing two repos of big and static files.
Please copy pySync.ini.example to pySync.ini to config the repo. Also, config your local repo in ~/.pysync.
It has following features:
- Don't rely on inode, so it is compatiable to NTFS. (It assumes there is no link files also)
- Designed for big and static files, it only check file's size and mtime for identification. For the same reason, it uses copy rather than rsync.
- Fully controllable operation.
- If one entry is a subpath to another entry, please put it after the shorter one in config file.
- Skip a folder by adding a file named '!sync' in it.
- Support filename filter
TODO:
- Relative path filter, maybe with regex?
- Add fingerprint for the folder, which can help determine new files and misc information.
- Add sync script support.