nicer, updated for more synching
[feisty_meow.git] / scripts / customize / fred / scripts / update_soapbox.sh
index 90a0e0b0aa18107c2b9ddfa63335f9730749dd87..869a1deb0882bb778a59871923b92cb5367984da 100644 (file)
@@ -29,37 +29,23 @@ if [ $? -ne 0 ]; then
   exit 1
 fi
 
-sep
-
-echo synching walrus...
-rsync -av /z/walrus/* /media/fred/soapboxdrive/walrus/
-if [ $? -ne 0 ]; then
-  echo The walrus sync failed.
-  exit 1
-fi
-
-sep
-
-echo synching musix...
-rsync -av /z/musix/* /media/fred/soapboxdrive/musix/
-if [ $? -ne 0 ]; then
-  echo The musix sync failed.
-  exit 1
-fi
+for currdir in basement imaginations musix walrus; do
+  sep
+  echo "synching $currdir..."
+  netcp /z/$currdir/* /media/fred/soapboxdrive/$currdir/
+  if [ $? -ne 0 ]; then
+    echo "The $currdir sync failed."
+    exit 1
+  fi
+done
 
 sep
 
-echo getting latest fred codes...
+echo getting latest fred repositories...
 pushd /media/fred/soapboxdrive
 get_source extra_brain
 
 sep
 
-echo getting latest gffs codes...
-get_source gffs
-popd
-
-sep
-
 echo Updated all portions of the soapbox drive successfully.