tasty renamings
[feisty_meow.git] / customize / fred / scripts / synch_archives_from_surya.sh
1
2 # curie is the source for musix and also has limited space for walruses,
3 # so we check for that being our host here.
4 hostname -f 2>&1 | grep -i curie &>/dev/null
5 if [ $? -eq 0 ]; then
6   # this name has curie in it, so we're probably on there.
7   echo "Updating with special case for curie from surya"
8   rsync -avz surya:/z/walrus/media/pictures/* /z/walrus/media/pictures/
9   rsync -avz surya:/z/walrus/media/sounds/* /z/walrus/media/sounds/
10 else
11   echo "Updating standard host from surya"
12   rsync -avz surya:/z/walrus/* /z/walrus/
13   rsync -avz surya:/z/musix/* /z/musix/
14 fi
15
16