Unison |
Unison is a file-synchronization tool for Unix and Windows. It allows two replicas of a collection of files and directories to be stored on different hosts (or different disks on the same host), modified separately, and then brought up to date by propagating the changes in each replica to the other
/usr/local/bin/unison -batch ssh://spike/export/mirror01 /export/mirror01
# Helps out a lot on Windows fastcheck = true # place new files at the top of the list sortnewfirst = true # turn on ssh compression rshargs = -C
include common root = /home/user/my-unison-root root = ssh://user@some.fileserver.com//home/user/my-unison-root
- http://www.cis.upenn.edu/~bcpierce/unison/download/releases/stable/unison-manual.html#ignore
root = /home/user/my-unison-root root = ssh://user@some.fileserver.com//home/user/my-unison-root ignore = Name {CVS,*.cmo} ignore = Path a/b ignore = Path */tmp ignore = Regex a/b/.*\.ml