From 505dfd51ee93909bea508da334aa35d0b11d35b3 Mon Sep 17 00:00:00 2001 From: Chris Koeritz Date: Thu, 25 Apr 2019 07:55:38 -0400 Subject: [PATCH] added a splitter based on hostname avoids cross contamination of pictures from orpheus's characters (spoonburg and obsidian) and clemens's characters (antimony). --- scripts/customize/fred/scripts/games/save_f76_pics.sh | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/scripts/customize/fred/scripts/games/save_f76_pics.sh b/scripts/customize/fred/scripts/games/save_f76_pics.sh index 10a9d429..86da135a 100644 --- a/scripts/customize/fred/scripts/games/save_f76_pics.sh +++ b/scripts/customize/fred/scripts/games/save_f76_pics.sh @@ -1,5 +1,13 @@ +#!/bin/bash source "$FEISTY_MEOW_SCRIPTS/core/launch_feisty_meow.sh" -netcp ~/linx/wind_goods/My\ Games/Fallout\ 76/Photos/8f99c06443f04f6f8270604369bb78eb/*[0-9].png /z/walrus/media/pictures/metaverse/fallout_76/spoonburg_pc/ +if [[ "$hostname" ~= clemems* ]]; then + character=clemens_pc +fi +if [[ "$hostname" ~= orpheus* ]]; then + character=spoonburg_pc +fi + +netcp ~/linx/wind_goods/My\ Games/Fallout\ 76/Photos/8f99c06443f04f6f8270604369bb78eb/*[0-9].png /z/walrus/media/pictures/metaverse/fallout_76/${character}/ -- 2.34.1