From 0dd63b2ed552898a8bacdd007aba24337fb52b11 Mon Sep 17 00:00:00 2001 From: Chris Koeritz Date: Mon, 12 Dec 2016 05:02:26 -0500 Subject: [PATCH] cleaning and polishing added a guard on update musix script so only curie can run it. added a bit more notes about customization and some todo items. moved spiel out of the way to clear the 's' char in top level for scripts. nice rename in examples. cleaned up examples readme file. --- .../fred/scripts/update_musix_on_curie.sh | 10 +++++++++- customizing/readme.txt | 5 +++++ spiel.txt => doc/history_anat.txt | 0 examples/readme.txt | 18 ++---------------- ...rt.txt => ripping_and_burning_examples.txt} | 6 ++++++ 5 files changed, 22 insertions(+), 17 deletions(-) rename spiel.txt => doc/history_anat.txt (100%) rename examples/{example_script_usages_dvd_and_bluray_from_mrowrt.txt => ripping_and_burning_examples.txt} (72%) diff --git a/customizing/fred/scripts/update_musix_on_curie.sh b/customizing/fred/scripts/update_musix_on_curie.sh index 39b420a9..cca8325d 100644 --- a/customizing/fred/scripts/update_musix_on_curie.sh +++ b/customizing/fred/scripts/update_musix_on_curie.sh @@ -1,5 +1,13 @@ -#add the goodness around these like the nice updater. +# this script is meant to be run on curie with our super alpha prime source of music plugged in. + +#hmmm: add the goodness around these like the nice updater. + +if [[ ! ( $(hostname) =~ .*curie.* ) ]]; then + echo this script is only designed to run on curie with the + echo fred music prime external disc plugged in. + exit 1 +fi rsync -av /media/fred/fredmusicprime/musix/* /z/musix/ rsync -avz /z/musix/* surya:/z/musix/ diff --git a/customizing/readme.txt b/customizing/readme.txt index 79cd1ecb..be796df1 100644 --- a/customizing/readme.txt +++ b/customizing/readme.txt @@ -9,3 +9,8 @@ script initialization (any files ending in .sh). when you have some custom scripts you want to use, copy them from your own folder to the $FEISTY_MEOW_LOADING_DOCK/custom directory. + +(needs to talk about the scripts directory which is handled specially. +are there any keyword matched filenames with special functions?) + + diff --git a/spiel.txt b/doc/history_anat.txt similarity index 100% rename from spiel.txt rename to doc/history_anat.txt diff --git a/examples/readme.txt b/examples/readme.txt index ba0a1cd9..0b95a950 100644 --- a/examples/readme.txt +++ b/examples/readme.txt @@ -3,30 +3,16 @@ This is the feisty meow examples folder. It has the following folders... bashisms/ A few examples of techniques in bash. Handy to keep track of these. -custom_overrides/ - Some personal scripts that can be added to the base set, basically serving - as useful examples and also as a place where i can store my (fred hamster's) - personal code without it getting in the way of the main feisty meow - features. - -feisty_meow_startup/ - Several examples of startup scripts that hook in the feisty meow script - features. The scripts can be integrated at a deep level, where they are - always included at shell startup time, or at a more shallow level, where - they are loaded on demand by invoking an alias. - legacy/ Examples of quixotic attempts at whatever in the past. One example is an aged attempt to add C++ template features to a C++ compiler that did not already have them. It was never completely finished. -multimedia/ - Examples of multimedia processing that are not included in the main feisty - meow corpus. - os_related/ Both frivolous and serious scripts related to a particular operating system. Do *NOT* run the OS_crusher scripts unless you are in complete control of the system in question, and do not like that computer system very much, as they may likely take it down. +perlisms/ + Examples of techniques using the perl scripting language. diff --git a/examples/example_script_usages_dvd_and_bluray_from_mrowrt.txt b/examples/ripping_and_burning_examples.txt similarity index 72% rename from examples/example_script_usages_dvd_and_bluray_from_mrowrt.txt rename to examples/ripping_and_burning_examples.txt index 1fe8ab60..2ef32557 100644 --- a/examples/example_script_usages_dvd_and_bluray_from_mrowrt.txt +++ b/examples/ripping_and_burning_examples.txt @@ -1,4 +1,10 @@ +when the feisty meow environment is loaded, these handy +commands become available for ripping content from dvds +and for burning content to dvds and blurays. + +=== + # rips the dvd off of the current dvd drive. this produces the ripped copy # in a folder named after the dvd. dvd_rip -- 2.34.1