added toaster
authorChris Koeritz <fred@gruntoes.com>
Tue, 22 Jan 2019 14:40:13 +0000 (09:40 -0500)
committerChris Koeritz <fred@gruntoes.com>
Tue, 22 Jan 2019 14:40:13 +0000 (09:40 -0500)
scripts/customize/fred/scripts/archival/raw_synch.sh

index 9a69b9c14f9c3829ea7c06745cd23bd2da28572e..2ffc661410aac9569bbc892094c313685faba8a1 100644 (file)
@@ -11,10 +11,13 @@ 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
+for currdir in basement imaginations musix toaster walrus; do
   sep
   echo "synching $currdir folder from $synch_host..."
-  rsync -avz "$synch_host":/z/$currdir/* /z/$currdir/
+  if [ -d "/z/$currdir" ]; then
+    rsync -avz "$synch_host":/z/$currdir/* /z/$currdir/
+    continue_on_error synching with $currdir from remote host.
+  fi
 done
 
 sep