added toaster
authorChris Koeritz <fred@gruntose.com>
Wed, 23 Jan 2019 03:58:07 +0000 (22:58 -0500)
committerChris Koeritz <fred@gruntose.com>
Wed, 23 Jan 2019 03:58:07 +0000 (22:58 -0500)
scripts/customize/fred/scripts/archival/raw_synch.sh

index 9a69b9c14f9c3829ea7c06745cd23bd2da28572e..17c4b9b7f6e94e888315dbbb4ae6efeb49fd935a 100644 (file)
@@ -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