Removed old arg handler function

This commit is contained in:
Benjamyn Love 2019-05-26 23:56:45 +10:00
parent 6476b5b49d
commit 21c126ea72

View File

@ -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 ]]