more fixies, more to come
authorChris Koeritz <fred@gruntose.com>
Thu, 25 Apr 2019 18:32:01 +0000 (14:32 -0400)
committerChris Koeritz <fred@gruntose.com>
Thu, 25 Apr 2019 18:32:01 +0000 (14:32 -0400)
scripts/customize/fred/scripts/games/save_f76_pics.sh

index cb3323dda7c674279937d18d224ce76c0dab28bf..24e8a789b4ef4827030c5f9adf7d897f9d955efb 100644 (file)
@@ -1,13 +1,21 @@
 #!/bin/bash
 
+# copies the fallout 76 screenshots and images into our walruse metaverse hierarchy.
+
 source "$FEISTY_MEOW_SCRIPTS/core/launch_feisty_meow.sh"
 
 if [[ "$(hostname)" =~ clemems* ]]; then
-  character=clemens_pc
+  character=chronical_pc
 fi
 if [[ "$(hostname)" =~ orpheus* ]]; then
   character=spoonburg_pc
 fi
+if [ -z "$character" ]; then
+  echo Could not determine the proper character name to store the fallout 76
+  echo images under.  Can you add a hostname to this script?
+  echo "  => $0"
+  exit 1
+fi
 
 src_dir="~/linx/wind_goods/My\ Games/Fallout\ 76/Photos/8f99c06443f04f6f8270604369bb78eb"
 dest_dir="/z/walrus/media/pictures/metaverse/fallout_76/${character}"