From dc24d011ee959982dbb9f0d621f832de2079c765 Mon Sep 17 00:00:00 2001 From: Chris Koeritz Date: Thu, 15 Dec 2016 00:17:20 -0500 Subject: [PATCH] added separators for readability --- customize/fred/scripts/curies_musix_wand.sh | 8 ++++++++ 1 file changed, 8 insertions(+) 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. -- 2.34.1