Fync is a simple file synchronization tool for two systems. It is specialized for syncing source code (i.e. lots of small text files).
- Efficient file change detection
- Bi-directional synchronization
- SSH synchronization support
Fync supports the following commands:
-
ssh-sync
: Synchronize files with a remote system using SSHfync ssh-sync <local_root> <remote_host> <remote_root>
-
sync
: Synchronize files between two local directoriesfync sync <source> <destination>
-
run-stdio
: Run Fync in stdio mode (used internally)fync run-stdio <root> [-o]
-
watch
: Watch a directory for changes (for debugging)fync watch <directory>
Use the -h
or --help
flag with any command for more information.