diff --git a/split-dl.sh b/split-dl.sh index 04f6fc3..ba43081 100755 --- a/split-dl.sh +++ b/split-dl.sh @@ -125,7 +125,7 @@ function checkfolder { FOLDER=$1 # Check if folder already exists. If not, create it if [ -d $FOLDER ]; then - read -p "Destination folder \"$FOLDER\" already exists. Should it be emptied? [y/n]: " YN + read -p "Destination folder \"$FOLDER\" already exists. Should it be emptied? [y/N]: " YN if [ $YN == "y" ]; then rm -rf $FOLDER mkdir $FOLDER @@ -385,11 +385,11 @@ until [ "$STATUS" == "F" ]; do done -read -p "Download seems to be finished. Should the splitted files be rebuilt to the original big file again? [y/n] " YN +read -p "Download seems to be finished. Should the splitted files be rebuilt to the original big file again? [y/N]: " YN if [ $YN == "y" ]; then # Destination file already exists if [ -e $BIGNAME ]; then - read -p "Destination file already exists. Should it be overwritten? [y/n] " YN + read -p "Destination file already exists. Should it be overwritten? [y/N]: " YN if [ $YN == "y" ]; then cat $FOLDER/dl-* > $BIGNAME @@ -422,7 +422,7 @@ fi # Clean directories -read -p "Clean the download directory and info.cfg file? [y/n] " YN +read -p "Clean the download directory and info.cfg file? [y/N]: " YN if [ $YN == "y" ]; then rm $INFO rm -r $FOLDER