サーバー?
rsync -av --delete rsync://192.168.0.7/dsk1/ /mnt/dsk1
vi /etc/rsyncd.conf
## Rsync logging Settings
#syslog facility = local5
#transfer logging = yes
## Global Settings
uid = root
gid = root
log file = /var/log/rsyncd.log
pid file = /var/run/rsyncd.pid
dont compress = *.gz *.tgz *.zip *.pdf *.sit *.sitx *.lzh *.bz2 *.jpg *.jpeg *.gif *.png
[dsk0]
path = /mnt/dsk0
comment = comic files
hosts allow = 192.168.0.7
hosts deny = *
read only = no
[dsk1]
path = /mnt/dsk1
comment = media files
hosts allow = 192.168.0.7
hosts deny = *
read only = no
[books]
path = /mnt/dsk1/books
comment = media files
hosts allow = 192.168.0.7
hosts deny = *
read only = no
vi /etc/xinetd.d/rsync
# default: off
# description: The rsync server is a good addition to an ftp server, as it \
# allows crc checksumming etc.
service rsync
{
disable = no
flags = IPv6
socket_type = stream
wait = no
user = root
server = /usr/bin/rsync
server_args = --daemon
log_on_failure += USERID
}
/etc/rc.d/init.d/xinetd restart