fixes were needed still
[feisty_meow.git] / scripts / customize / fred / scripts / games / save_f76_pics.sh
1 #!/bin/bash
2
3 # copies the fallout 76 screenshots and images into our walruse metaverse hierarchy.
4
5 source "$FEISTY_MEOW_SCRIPTS/core/launch_feisty_meow.sh"
6
7 if [[ "$(hostname)" =~ clemens* ]]; then
8   character="chronical_pc"
9   identity="8836c852c8a647ba8ca45808a73c3fbb"
10 elif [[ "$(hostname)" =~ orpheus* ]]; then
11   character="spoonburg_pc"
12   identity="8f99c06443f04f6f8270604369bb78eb"
13 else
14   echo Could not determine the proper character name to store the fallout 76
15   echo images under.  Can you add a hostname to this script?
16   echo "  => $0"
17   exit 1
18 fi
19
20 src_dir="$HOME/linx/wind_goods/My Games/Fallout 76/Photos/${identity}"
21 dest_dir="/z/walrus/media/pictures/metaverse/fallout_76/${character}"
22
23 #echo "src is: '$src_dir'"
24 #echo "dest is: '$dest_dir'"
25
26 if [ ! -d "$src_dir" ]; then
27   echo "Could not find the source directory: $src_dir"
28   exit 1
29 fi
30 if [ ! -d "$dest_dir" ]; then
31   echo "Could not find the destination directory: $dest_dir"
32   exit 1
33 fi
34
35 netcp "$src_dir"/*[0-9].png "$dest_dir"/
36
37