dropped specialization for curie; now has space
authorChris Koeritz <fred@gruntose.com>
Fri, 16 Dec 2016 02:08:21 +0000 (21:08 -0500)
committerChris Koeritz <fred@gruntose.com>
Fri, 16 Dec 2016 02:08:21 +0000 (21:08 -0500)
customize/fred/scripts/synch_from_surya.sh

index ceac4bfee9d0148c68a1ced11673354fa5e05da0..d18643690fbcd586c4366173756e6f3fb6352fca 100644 (file)
@@ -1,16 +1,6 @@
+#!/bin/bash
 
-# curie is the source for musix and also has limited space for walruses,
-# so we check for that being our host here.
-hostname -f 2>&1 | grep -i curie &>/dev/null
-if [ $? -eq 0 ]; then
-  # this name has curie in it, so we're probably on there.
-  echo "Updating with special case for curie from surya"
-  rsync -avz surya:/z/walrus/media/pictures/* /z/walrus/media/pictures/
-  rsync -avz surya:/z/walrus/media/sounds/* /z/walrus/media/sounds/
-else
-  echo "Updating standard host from surya"
-  rsync -avz surya:/z/walrus/* /z/walrus/
-  rsync -avz surya:/z/musix/* /z/musix/
-fi
-
+echo "Updating walrus and musix from surya"
+rsync -avz surya:/z/walrus/* /z/walrus/
+rsync -avz surya:/z/musix/* /z/musix/