X-Git-Url: https://feistymeow.org/gitweb/?a=blobdiff_plain;f=scripts%2Fmultimedia%2Fmaybe_zap_pic.sh;h=9b2c667b662641ae470e46555dd1c1ec4d4ac9a1;hb=6701d4871c03c99213bbdfd4b097b5878e57ed27;hp=7fa7133b7f45b554d563e176f1386cf52e951814;hpb=ad0ce3f89fcb4e06393aa84e342c2745aef72da8;p=feisty_meow.git diff --git a/scripts/multimedia/maybe_zap_pic.sh b/scripts/multimedia/maybe_zap_pic.sh index 7fa7133b..9b2c667b 100644 --- a/scripts/multimedia/maybe_zap_pic.sh +++ b/scripts/multimedia/maybe_zap_pic.sh @@ -14,9 +14,9 @@ for i in "$@"; do eog "$file" # now ask the big question: to whack or not to whack? echo "whack this file? (y/N)" - read line + read inputtext # a few things mean yes here. - if [ "$line" == "y" -o "$line" == "Y" -o "$line" == "yes" ]; then + if [ "$inputtext" == "y" -o "$inputtext" == "Y" -o "$inputtext" == "yes" ]; then echo "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!" echo "$(date): deleting $file." perl $FEISTY_MEOW_SCRIPTS/files/safedel.pl "$file"