From: Chris Koeritz Date: Thu, 15 Dec 2016 05:17:20 +0000 (-0500) Subject: added separators for readability X-Git-Tag: 2.140.90~332 X-Git-Url: https://feistymeow.org/gitweb/?a=commitdiff_plain;h=dc24d011ee959982dbb9f0d621f832de2079c765;p=feisty_meow.git added separators for readability --- diff --git a/customize/fred/scripts/curies_musix_wand.sh b/customize/fred/scripts/curies_musix_wand.sh index e2e353cc..3a5fe7cc 100644 --- a/customize/fred/scripts/curies_musix_wand.sh +++ b/customize/fred/scripts/curies_musix_wand.sh @@ -2,6 +2,8 @@ # this script is meant to be run on curie with our super alpha prime source of music plugged in. +source "$FEISTY_MEOW_SCRIPTS/core/functions.sh" + #hmmm: add the goodness around these like the nice updater. if [[ ! ( $(hostname) =~ .*curie.* ) ]]; then @@ -13,18 +15,24 @@ fi # synch our local copy on curie with the music drive, source of all goodness. function get_music_from_alpha_site() { + sep echo "getting musix and basement from fred music prime device" rsync -av /media/fred/fredmusicprime/musix/* /z/musix/ rsync -av /media/fred/fredmusicprime/basement/* /z/basement/ + sep + echo } # updates the music on a remote host to our current local copy on curie. function update_musix_pile() { + sep local host="$1"; shift echo "$host: synching musix and basement" rsync -avz /z/musix/* ${host}:/z/musix/ rsync -avz /z/basement/* ${host}:/z/basement/ + sep + echo } # make sure the local machine, curie, is in good shape.