vi /etc/rsyncd.conf
pid file = /var/run/rsyncd.pid
lock file = /var/run/rsync.lock
log file = /var/log/rsync.log
port = 873
[files]
path = /absolute/path/to/public_folder
comment = RSYNC FILES
read only = true
timeout = 300
ps x | grep rsync
rsync --daemon
rsync rsync://xx.xx.xx.xx/
kill $(cat /var/run/rsyncd.pid)
rsync -rzP --progress USER@IP:/REMOTE/DIR /LOCAL/DIR
Creds to Jason Mazzota @ atlantic.net