minor improvements in raw synch
authorChris Koeritz <fred@gruntose.com>
Sun, 15 Oct 2017 16:36:22 +0000 (12:36 -0400)
committerChris Koeritz <fred@gruntose.com>
Sun, 15 Oct 2017 16:36:22 +0000 (12:36 -0400)
scripts/customize/fred/scripts/raw_synch_from_surya.sh

index bad18b6ee0ab574149621e2dfb90903aa711e69e..57b9472b641d03b995a422ef78c8f53bea7c144b 100644 (file)
@@ -1,8 +1,15 @@
 #!/bin/bash
 
+source "$FEISTY_MEOW_SCRIPTS/core/launch_feisty_meow.sh"
+
 echo "Updating walrus and musix from surya: raw mode without syncthing!"
-rsync -avz surya:/z/basement/* /z/basement/
-rsync -avz surya:/z/imaginations/* /z/imaginations/
-rsync -avz surya:/z/musix/* /z/musix/
-rsync -avz surya:/z/walrus/* /z/walrus/
+echo
+
+for currdir in basement imaginations musix walrus; do
+  sep
+  echo "synching $currdir folder..."
+  rsync -avz surya:/z/$currdir/* /z/$currdir/
+done
+
+sep