more fixies, more to come
[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)" =~ clemems* ]]; then
8   character=chronical_pc
9 fi
10 if [[ "$(hostname)" =~ orpheus* ]]; then
11   character=spoonburg_pc
12 fi
13 if [ -z "$character" ]; then
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="~/linx/wind_goods/My\ Games/Fallout\ 76/Photos/8f99c06443f04f6f8270604369bb78eb"
21 dest_dir="/z/walrus/media/pictures/metaverse/fallout_76/${character}"
22
23 if [ ! -d "$src_dir" ]; then
24   echo "Could not find the source directory: $src_dir"
25   exit 1
26 fi
27 if [ ! -d "$dest_dir" ]; then
28   echo "Could not find the destination directory: $dest_dir"
29   exit 1
30 fi
31
32 netcp "$src_dir"/*[0-9].png "$dest_dir"/
33
34