3 # this script is meant to be run on curie with our super alpha prime source of music plugged in.
5 source "$FEISTY_MEOW_SCRIPTS/core/functions.sh"
7 #hmmm: add the goodness around these like the nice updater.
9 if [[ ! ( $(hostname) =~ .*curie.* ) ]]; then
10 echo this script is only designed to run on curie with the
11 echo fred music prime external disc plugged in.
15 # synch our local copy on curie with the music drive, source of all goodness.
16 function get_music_from_alpha_site()
19 echo "getting musix and basement from fred music prime device"
20 rsync -av /media/fred/fredmusicprime/musix/* /z/musix/
21 rsync -av /media/fred/fredmusicprime/basement/* /z/basement/
26 # updates the music on a remote host to our current local copy on curie.
27 function update_musix_pile()
30 local host="$1"; shift
31 echo "$host: synching musix and basement"
32 rsync -avz /z/musix/* ${host}:/z/musix/
33 rsync -avz /z/basement/* ${host}:/z/basement/
38 # make sure the local machine, curie, is in good shape.
39 get_music_from_alpha_site
41 # run through the steps of updating all our machines.
42 for i in surya banshee wildmutt euphrosyne; do