Skip to content

Instantly share code, notes, and snippets.

@fluential
Created December 18, 2014 16:51
Show Gist options
  • Save fluential/60b16dd7f02f455edb80 to your computer and use it in GitHub Desktop.
Save fluential/60b16dd7f02f455edb80 to your computer and use it in GitHub Desktop.
quick rsync daemon one liner
rsync --daemon --port 31337 --no-detach -vv --config /var/tmp/.rsyncd.conf
cat <<EOF > /var/tmp/.rsyncd.conf
[store]
path = /path/to/file
read only = no
list = yes
uid = nobody
gid = nogroup
use chroot = false
EOF
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment