written April 2018
Even though there is a tutorial for using rsync on SDF,
for some reason I could not get it to work. Rsync doesn't seem to be available to me on the server I'm on.
which rsync returns "rsync not found." This tutorial will show you how to compile Rsync
manually and use it.
wget https://download.samba.org/pub/rsync/nightly/rsync-HEAD.tar.gz tar xzf rsync-HEAD.tar.gz cd rsync-HEAD-* ./configure make mkdir ~/bin mv rsync ~/bin
You need to specify where the rsync binary resides when using rsync remotely:
Back up your SDF home directory to your local machine:
rsync -avzk --rsync-path=~/bin/rsync USERNAME@sdf.org:~/ ~/local/path/
-k option tells rsync to copy symlinks to directories as if they are actual directories.
This is useful for copying down the "html" directory.
Update your SDF html directory from a local copy:
rsync -avz --rsync-path=~/bin/rsync ~/local/path/html/ USERNAME@sdf.org:~/html/
Hosting for this site is provided by
The SDF Public Access UNIX System