From 3b178adcb93812c6f5cb527dd7c99ab4dad103ce Mon Sep 17 00:00:00 2001 From: Chris Koeritz Date: Fri, 22 May 2020 18:05:08 -0400 Subject: [PATCH] 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 --- scripts/archival/raw_synch.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.34.1