removing questions

This commit is contained in:
TRBC Developer committed 2024-01-22 16:49:43 +00:00
1 parent 6930351401
commit 9df136d24a
1 file changed
+28 -28
+28 -28
View File
@@ -5,36 +5,36 @@
#Get the folder with the pdf documents in it. #Get the folder with the pdf documents in it.
echo "This will take the PDF statements that have been sorted and will merge them into PDF files based on the numbers of pages in the statement." #echo "This will take the PDF statements that have been sorted and will merge them into PDF files based on the numbers of pages in the statement."
echo "" #echo ""
echo "Before we begin we need a little information." #echo "Before we begin we need a little information."
echo "" #echo ""
while : #while :
do #do
echo "Where is the directory that has the PDF statments with address?" # echo "Where is the directory that has the PDF statments with address?"
read PDFDIR # read PDFDIR
if [ -d $PDFDIR ] # if [ -d $PDFDIR ]
then # then
break # break
else # else
echo "Directory not found." # echo "Directory not found."
fi # fi
done #done
#Get the folder for the output file. #Get the folder for the output file.
while : #while :
do #do
echo "" # echo ""
echo "What output directory do you want for the sorted PDF's?" # echo "What output directory do you want for the sorted PDF's?"
read OUTPUTFOLDER # read OUTPUTFOLDER
#OUTPUTFOLDER="/home/btmccrea/Downloads/output" # #OUTPUTFOLDER="/home/btmccrea/Downloads/output"
if [ -d $OUTPUTFOLDER ] # if [ -d $OUTPUTFOLDER ]
then # then
break # break
else # else
echo "Directory not found." # echo "Directory not found."
fi # fi
done #done
cd $PDFDIR cd $PDFDIR
for FILENAME in $PDFDIR/* for FILENAME in $PDFDIR/*