Added the basic structure to the script.
This commit is contained in:
parent
7da86ad732
commit
60fdc31e33
@ -4,5 +4,19 @@
|
|||||||
|
|
||||||
for f in $@
|
for f in $@
|
||||||
do
|
do
|
||||||
echo "Converting $f to $f.ogg"
|
OUTFILE=${f:0:-4}
|
||||||
|
echo "Convert $f to $OUTFILE.ogg"
|
||||||
|
while true
|
||||||
|
do
|
||||||
|
read -p "Do you wish to continue? (y/n) " ANSWER
|
||||||
|
case $ANSWER in
|
||||||
|
[yY]* ) echo "Convert file."
|
||||||
|
break;;
|
||||||
|
|
||||||
|
[nN]* ) echo "Skipped file $f"
|
||||||
|
break;;
|
||||||
|
|
||||||
|
* ) echo "Please enter a valid option."
|
||||||
|
esac
|
||||||
|
done
|
||||||
done
|
done
|
||||||
|
Loading…
Reference in New Issue
Block a user