rsync
A replacement for rcp that has many more features
Compilation (V2.6.9/3.0.x)
Versions 3.0.x need autoconf
AIX
Straightforward, follow the instructions in INSTALL
and README
files. Example:
# AIX 6.1/7.1, C 9.0/12.1
./configure CC=cc CFLAGS="-O2 -D_LARGE_FILES" --prefix=/tmp/rsync-3.0.9 --with-included-popt
# AIX 5.x
./configure CC=cc CFLAGS="-O2 -D_LARGE_FILES" --prefix=/tmp/rsync-3.0.4 --with-included-popt
make
make install
HP-UX 11.00/11.11
Straightforward, follow the instructions in INSTALL
and README
files.
./configure CC=cc CFLAGS=-O2 --prefix=/tmp/rsync-3.0.4 --with-included-popt
make clean
make
make install
V3.x supports ACLs, but there seems to be no appropriate API on HP-UX 11.00.
Use V2.6.9 instead.
Installation & Configuration
When connecting to a remote host, it may happen that there's no default path
to the rsync
daemon, yielding something like:
rsync: not found.
rsync: connection unexpectedly closed (0 bytes read so far)
This is the case especially for ssh
connections,
which by default invoke a shell with restricted PATH
definitions.
A possible workaround on the client side would be to supply the path together with the rsync
command:
rsync ... --rsync-path=whereever-rsync-lives ...
Another, permanent one on the server side would be to place a link in a directory which is guaranteed to be in the command path:
cd /usr/bin
ln -s /opt/sfw/bin/rsync rsync # Solaris 10
Last update: 21-Feb-2014,
M.Kraemer
Impressum Data privacy protection