From f85c9c24b112ca45556fc424361101f1a9baa728 Mon Sep 17 00:00:00 2001 From: Chris Koeritz Date: Tue, 22 Jan 2019 22:58:07 -0500 Subject: [PATCH] added toaster --- scripts/customize/fred/scripts/archival/raw_synch.sh | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/scripts/customize/fred/scripts/archival/raw_synch.sh b/scripts/customize/fred/scripts/archival/raw_synch.sh index 9a69b9c1..17c4b9b7 100644 --- a/scripts/customize/fred/scripts/archival/raw_synch.sh +++ b/scripts/customize/fred/scripts/archival/raw_synch.sh @@ -11,10 +11,12 @@ fi echo "Updating our local archives from $synch_host: this is very raw mode, without syncthing!" | splitter echo -for currdir in basement imaginations musix walrus; do - sep - echo "synching $currdir folder from $synch_host..." - rsync -avz "$synch_host":/z/$currdir/* /z/$currdir/ +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/ + fi done sep -- 2.34.1