SSYNC(8)

NAME
ssync - distribute files to a set of hosts

SYNOPSIS
ssync [-ARScgrsvyz] [-D destdir] [-f hostfile] [-h host] [files or directories]

DESCRIPTION
The ssync command invokes rsync(1) in an intelligent manner. Usually ssync is invoked from the master distribution host.

Invoking the command without any arguments will distribute the current working directory to all hosts in the netgroup for the platform you are running ssync on. The name of the group is ``dist-os-rel-arch'' where os, rel and arch are derived from the output of osname(1).

If files or directories are specified on the command line, those directories will be distributed instead of the current directory. Any file or directory names are first converted to absolute pathnames on the local machine before being distributed.

The options are:

-A  Distribute worldwide by first distributing to ``dist-os-rel-arch-masters'' and then running the same ssync command on each of them.

-D  The following argument is used as the destination directory. This causes relocation of the directory that's being distributed, so care is advised when using this option.

-R  Remove extraneous files.

-S  Use srsh(1) to create connections to remote hosts.

-c  Leave out the rel component from the netgroup name. This can be used to distribute files common to different releases of an operating system. See also -g.

-f  The following argument specifies a file listing the hosts or netgroups to use in place of the default netgroup.

-g  Leave out the arch component from the netgroup name. This can be used to distribute files common to different architectures of an operating system. See also -c.

-h  The following argument specifies a host or netgroup to use in place of the default netgroup.

-r  Convenience alias for -R.

-s  Convenience alias for -S.

-v  Dummy run -- do not really update or install the files, just print what would happen.

-y  Run rsync(1) in younger mode. Do not update remote copies that are younger than the master copy, but issue a warning message instead.

-z  Use compression on the transferred data (good for slow links).

SEE ALSO
osname(1), rsync(1), sdist(1), srsh(1), uname(1)

HISTORY
ssync was created as a drop-in replacement for sdist(1) and thus has switches similar to rdist(1) rather than rsync(1).

AUTHORS
Kimmo Suominen <kim@tac.nyc.ny.us>