snsx
authorChris Koeritz <fred@gruntose.com>
Tue, 9 Oct 2018 22:02:19 +0000 (18:02 -0400)
committerChris Koeritz <fred@gruntose.com>
Tue, 9 Oct 2018 22:02:19 +0000 (18:02 -0400)
scripts/customize/fred/scripts/games/gamesaver.sh

index 764ab6c5459f59d18fb07970a6b21200a110a84b..a04276bebd51509cbdcea2dcb7f07855197d3aa3 100644 (file)
@@ -5,9 +5,8 @@
 
 source "$FEISTY_MEOW_SCRIPTS/core/launch_feisty_meow.sh"
 
-#we are missing the netcp thing.  why????
-
-WINE_SOURCE_DIR="$HOME/wine_goods/My Games"
+WINE_GOODS_DIR="$HOME/wine_goods"
+WINE_SOURCE_DIR="$WINE_GOODS_DIR/My Games"
 SPOOLING_OUTPUT_DIR="$HOME/data/spooling_saves"
 
 if [ ! -d "$WINE_SOURCE_DIR" ]; then
@@ -32,7 +31,6 @@ function copyem()
 
   if [ -d "$source_dir" ]; then
     echo $game_name
-#old    cp -v -n "$source_dir"/* "$out_dir"/
     netcp "$source_dir"/* "$out_dir"/
     sep 28
   fi
@@ -60,4 +58,6 @@ copyem "oblivion" "$WINE_SOURCE_DIR/Oblivion/Saves" "$SPOOLING_OUTPUT_DIR/oblivi
 
 copyem "fallout 4" "$WINE_SOURCE_DIR/Fallout4/Saves" "$SPOOLING_OUTPUT_DIR/fallout_4"
 
+copyem "witcher 3" "$WINE_GOODS_DIR/The Witcher 3/gamesaves" "$SPOOLING_OUTPUT_DIR/witcher_3"
+