From 83ce2fe33c374095c4c242b9e38368ee2c9467ed Mon Sep 17 00:00:00 2001 From: Chris Koeritz Date: Tue, 6 Sep 2016 21:22:31 -0400 Subject: [PATCH] fixed usage of extra line printing method to use sep. --- customizing/fred/scripts/gamesaver.sh | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/customizing/fred/scripts/gamesaver.sh b/customizing/fred/scripts/gamesaver.sh index 5add22ac..157ff4c1 100644 --- a/customizing/fred/scripts/gamesaver.sh +++ b/customizing/fred/scripts/gamesaver.sh @@ -3,14 +3,11 @@ # 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 + WINE_SOURCE_DIR="$HOME/wine_goods/My Games" SPOOLING_OUTPUT_DIR="$HOME/spooling_saves" -function line() -{ - echo "=======" -} - # copies the files for a particular game out to a spooling folder. function copyem() { @@ -21,7 +18,7 @@ function copyem() if [ -d "$source_dir" ]; then echo $game_name cp -v -n "$source_dir"/* "$out_dir"/ - line + sep 28 fi } @@ -37,7 +34,7 @@ done #hmmm: at least make a function out of those repetitive steps. sheesh. -line +sep 28 copyem "skyrim" "$WINE_SOURCE_DIR/Skyrim/Saves" "$SPOOLING_OUTPUT_DIR/skyrim" -- 2.34.1