Home : unix
rsync
Works in Lycos, Debian, probably Slackware.
Installation
Add package rsync
According to man rsyncd.conf
:
Add following line to /etc/inetd.conf
, using tabs as field delimiters:
rsync
stream tcp
nowait root /usr/bin/rsync
rsyncd --daemon
Restart inetd :
/etc/init.d/inetd
restart
Create a basic
/etc/rsyncd.conf (a fully-fledged version is more complicated than
this):
transfer
logging = true
log
format %h %o %f %l %b
log
file = rsyncd.log
Examine /var/log/syslog to confirm that there are no errors produced by
the startup of rsync .
Usage examples
Uploading a file to a remote server:
rsync -av
afile
auser@ip:afile
afile is a file, auser is a username, ip is an IP address or website
name.
Author: Mark Carter
Created: 14-May-2005