DOKK / manpages / debian 12 / unison-2.51+4.13.1-gtk / unison-2.51+4.13.1-gtk.1.en
UNISON-2.51+4.13.1-GTK(1) General Commands Manual UNISON-2.51+4.13.1-GTK(1)

unison-2.51+4.13.1-gtk - a file-synchronization tool for Unix and Windows

unison-2.51+4.13.1-gtk [options]
unison-2.51+4.13.1-gtk root1 root2 [options]
unison-2.51+4.13.1-gtk profilename [options]

This manual page briefly documents Unison, and was written for the Debian GNU/Linux distribution because the original program does not have a manual page. For a full description, please refer to the inbuilt documentation or the manuals in /usr/share/doc/unison-2.51+4.13.1/. The unison-2.51+4.13.1-gtk-gtk binary has similar command-line options, but allows the user to select and create profiles and configure options from within the program.

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.

Unison offers several advantages over various synchronization methods such as CVS, Coda, rsync, Intellisync, etc. Unison can run on and synchronize between Windows and many UNIX platforms. Unison requires no root privileges, system access or kernel changes to function. Unison can synchronize changes to files and directories in both directions, on the same machine, or across a network using ssh or a direct socket connection.

Transfers are optimised using a version of the rsync protocol, making it ideal for slower links. Unison has a clear and precise specification, and is resilient to failure due to its careful handling of the replicas and its private structures.

The two roots can be specified using an URI or a path. The URI must follow the convention: protocol://[user@][host][:port][/path]. The protocol part can be file, socket, ssh or rsh.

All Unison options are long, starting with one dash (`-') only. A summary of options is included here. For a complete description, see the inbuilt documentation or the manuals in /usr/share/doc/unison-2.51+4.13.1/.

automatically accept default (nonconflicting) actions
batch mode: ask no questions at all
show documentation ('-doc topics' lists topics)
use appropriate options for FAT filesystems
synchronize group attributes
interactive profile mode (text UI); command-line only
add a pattern to the ignore list
add a pattern to the ignorenot list
prevent file creations on one replica
prevent file deletions on one replica
prevent file updates and deletions on one replica
synchronize owner
path to synchronize
part of the permissions which is synchronized
root of a replica (should be used exactly twice)
print nothing except error messages
suppress status messages
exit immediately after the connection to the server
synchronize modification times
print version and exit
file to add new prefs to
add version number to name of unison on server
add a pattern to the atomic list
add a pattern to the backup list
add a pattern to the backupcurr list
add a pattern to the backupcurrnot list
directory for storing centralized backups
where backups are stored ('local' or 'central')
add a pattern to the backupnot list
prefix for the names of backup files
keep backup copies of all files (see also 'backup')
a suffix to be added to names of backup files
set host name of client
use color output for text UI (true/false/default)
ask about whole-replica (or path) deletes (default true)
ask for confirmation before committing results of a merge
suppress the 'contacting server' message during startup
maximum number of simultaneous copyprog transfers
keep copies of conflicting files
external program for copying large files
variant of copyprog for resuming partial transfers
add quotes to remote file name for copyprog (true/false/default)
use copyprog on files bigger than this (if >=0, in Kb)
debug module xxx ('all' -> everything, 'verbose' -> more)
set command for showing differences between files
when set, never use the chmod system call
do not change terminal settings in text UI
do fast update detection (true/false/default)
skip computing fingerprints for new files (experts only!)
add a pattern to the follow list
force changes from this replica to the other
add a pattern to the forcepartial list
force half-duplex communication with the server
height (in lines) of main window in graphical interface
bind the socket to this host name in server socket mode
ignore existing archive files
identify upper/lowercase filenames (true/false/default)
ignore inode number changes when detecting updates
ignore locks left over from previous run (dangerous!)
add a pattern to the immutable list
add a pattern to the immutablenot list
define a keyboard shortcut for this profile (in some UIs)
kill server when done (even when using sockets)
provide a descriptive string label for this profile
allow the synchronization of symbolic links (true/false/default)
record actions in logfile (default true)
logfile name
number of backed up versions of a file
maximum number of errors before a directory transfer is aborted
prevent transfer of files bigger than this (if >=0, in Kb)
maximum number of simultaneous file transfers
add a pattern to the merge list
abort if this path does not exist
add a pattern to the nocreationpartial list
add a pattern to the nodeletionpartial list
add a pattern to the noupdatepartial list
don't map uid/gid values by user/group names
choose this replica's version for conflicting changes
add a pattern to the preferpartial list
synchronize repeatedly (text interface only)
re-try failed synchronizations N times (text ui only)
register alias for canonical root names
synchronize resource forks (true/false/default)
activate the rsync transfer mode (default true)
run internal tests and exit
name of unison executable on remote server
show 'true names' (for rootalias) of roots and archive
act as a server on a socket
list changed files by size, not name
add a pattern to the sortfirst list
add a pattern to the sortlast list
list new before changed files
other arguments (if any) for remote shell command
path to the ssh executable
use a streaming protocol for transferring file contents (default true)
select UI ('text' or 'graphic'); command-line only
assume Unicode encoding in case insensitive mode
when set, use a file watcher process to detect changes
optimize transfers using local copies (default true)
include a profile file's preferences
include a file's preferences

Some preferences are just boolean flags. Others take numeric or string arguments, indicated in the preferences list by n or xxx. Most of the string preferences can be given several times; the arguments are accumulated into a list internally.

The program is documented fully in the in-built documentation and the manual, available as text in /usr/share/doc/unison-2.51+4.13.1/.

Options are automatically extracted from `unison -help'. The rest of this manual page was written by Robert McQueen <robot101@debian.org>, for the Debian GNU/Linux system (but may be used by others).

July 23, 2020