need better behavior in picking photo dirs
authorFred T. Hamster <fred@feistymeow.org>
Thu, 21 Nov 2024 01:59:51 +0000 (20:59 -0500)
committerFred T. Hamster <fred@feistymeow.org>
Thu, 21 Nov 2024 01:59:51 +0000 (20:59 -0500)
mushing this into better shape gradually.  switched f76 to linux from windows once saw that i could, so now the save dir is different.
could use new save dir as a standard!  it makes more sense to link directly to photos, than to have to both link to a folder and then find the photos.

scripts/customize/fred/scripts/games/save_f76_pics.sh

index d96897df06d372e4d75c60e04fa6b317f3f56c93..5a5ba8468c1a7145018a67074fb0b49acf624357 100644 (file)
@@ -19,6 +19,9 @@ if [[ "$source_host" =~ clemens* ]]; then
 elif [[ "$source_host" =~ orpheus* ]]; then
   character="spoonburg_pc"
   identity="8f99c06443f04f6f8270604369bb78eb"
+elif [[ "$source_host" =~ cuboid* ]]; then
+  character="spoonburg_pc"
+  identity="8f99c06443f04f6f8270604369bb78eb"
 else
   echo "
 Could not determine the proper character name for the fallout 76 images based
@@ -29,7 +32,11 @@ to this script?
   exit 1
 fi
 
-src_dir="$HOME/data/wind_goods/My Games/Fallout 76/Photos/${identity}"
+if [ "$OS" != "Windows_NT" ]; then
+  src_dir="$HOME/data/photos_fallout76/${identity}"
+else
+  src_dir="$HOME/data/wind_goods/My Games/Fallout 76/Photos/${identity}"
+fi
 dest_dir="fred@${DESTINATION_HOST}:/z/walrus/media/pictures/metaverse/fallout_76/${character}"
 
 echo "src is: '$src_dir'"