Removed old arg handler function
This commit is contained in:
parent
6476b5b49d
commit
21c126ea72
11
convert.sh
11
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 ]]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user