X-Git-Url: https://feistymeow.org/gitweb/?a=blobdiff_plain;f=customize%2Ffred%2Fscripts%2Fsynch_from_surya.sh;h=d18643690fbcd586c4366173756e6f3fb6352fca;hb=79797e49c9a83677f18fc4cec1ba949426adbfe7;hp=ceac4bfee9d0148c68a1ced11673354fa5e05da0;hpb=2de3f23ba374b822a4e2e6023661970e50ab2e8b;p=feisty_meow.git diff --git a/customize/fred/scripts/synch_from_surya.sh b/customize/fred/scripts/synch_from_surya.sh index ceac4bfe..d1864369 100644 --- a/customize/fred/scripts/synch_from_surya.sh +++ b/customize/fred/scripts/synch_from_surya.sh @@ -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/