From: Chris Koeritz Date: Fri, 22 May 2020 22:05:08 +0000 (-0400) Subject: currently only one user is supported on remote X-Git-Tag: 2.140.117^2~2 X-Git-Url: https://feistymeow.org/gitweb/?p=feisty_meow.git;a=commitdiff_plain;h=64d8e5af33e2fd087ae696af16e040f74357fa50 currently only one user is supported on remote this is a very fred related command and probably needs to move into the custom area. or we could redefine the script using variables for the: + list of z folders to synch + actual location of /z + user name that must be used to get on that host --- diff --git a/scripts/archival/raw_synch.sh b/scripts/archival/raw_synch.sh index e0cebc6e..2b0a0c1c 100644 --- a/scripts/archival/raw_synch.sh +++ b/scripts/archival/raw_synch.sh @@ -15,7 +15,7 @@ for currdir in basement imaginations musix toaster walrus; do if [ -d "/z/$currdir" ]; then sep echo "synching $currdir folder from $synch_host..." - rsync -avz "$synch_host":/z/$currdir/* /z/$currdir/ + rsync -avz "fred@${synch_host}:/z/$currdir"/* /z/$currdir/ continue_on_error synching with $currdir from remote host. fi done