X-Git-Url: https://feistymeow.org/gitweb/?a=blobdiff_plain;f=scripts%2Fcustomize%2Ffred%2Fscripts%2Fgamesaver.sh;h=9831fd58ce3708123ed7c574f130a2cf50b3d028;hb=3afe71c7102bbd88162b3152486e70e054136977;hp=0cd6b72524e69c7feff7571210a5de47b062835e;hpb=450337ae1ed04f16ee6e4889532a0b497b34674a;p=feisty_meow.git diff --git a/scripts/customize/fred/scripts/gamesaver.sh b/scripts/customize/fred/scripts/gamesaver.sh index 0cd6b725..9831fd58 100644 --- a/scripts/customize/fred/scripts/gamesaver.sh +++ b/scripts/customize/fred/scripts/gamesaver.sh @@ -3,13 +3,15 @@ # a helpful script that scrapes any active game saves from wine's storage # area into a spooling saves folder for archiving. -source $FEISTY_MEOW_SCRIPTS/core/functions.sh +source "$FEISTY_MEOW_SCRIPTS/core/launch_feisty_meow.sh" + +#we are missing the netcp thing. why???? WINE_SOURCE_DIR="$HOME/wine_goods/My Games" SPOOLING_OUTPUT_DIR="$HOME/spooling_saves" if [ ! -d "$WINE_SOURCE_DIR" ]; then - WINE_SOURCE_DIR="c:/users/fred/My Documents/My Games" + WINE_SOURCE_DIR="/cygdrive/c/users/fred/My Documents/My Games" fi if [ ! -d "$WINE_SOURCE_DIR" ]; then echo "Failing to find the game save directories." @@ -25,7 +27,8 @@ function copyem() if [ -d "$source_dir" ]; then echo $game_name - cp -v -n "$source_dir"/* "$out_dir"/ +#old cp -v -n "$source_dir"/* "$out_dir"/ + netcp "$source_dir"/* "$out_dir"/ sep 28 fi }