From 21c126ea7267e1c60ea1af44becf53ad18f50f15 Mon Sep 17 00:00:00 2001 From: Benjamyn Love Date: Sun, 26 May 2019 23:56:45 +1000 Subject: [PATCH] Removed old arg handler function --- convert.sh | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/convert.sh b/convert.sh index 8ce359d..e650b0e 100755 --- a/convert.sh +++ b/convert.sh @@ -2,14 +2,6 @@ # Benjamyn Love # 25/05/2019 -# The script needs to have at minimum 2 args -#if [[ $# -le 1 ]] -#then -# printf "Expecting at least two args\n" -# printf "Usage: ./convert.sh inputfile title\n" -# exit -#fi - usage() { printf ' -i | --input\t\t\tInput image file\n' printf ' -o | --output\t\t\tOutput folder\n' @@ -54,9 +46,6 @@ then OUTFOLDER=$INFILE-mkv fi -echo "Converting ISO to MKV" -echo "Creating out folder $OUTFOLDER" - mkdir $OUTFOLDER if [[ -f $INFILE ]]