Created
December 18, 2014 16:51
-
-
Save fluential/60b16dd7f02f455edb80 to your computer and use it in GitHub Desktop.
quick rsync daemon one liner
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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