Reworded the statements to make it easier to understand
This commit is contained in:
1 parent
f02850cd2a
commit
3f28e1d023
1 file changed
+15
-5
+15
-5
@@ -5,30 +5,34 @@
|
||||
|
||||
|
||||
#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 ""
|
||||
echo "Before we begin we need a little information."
|
||||
echo ""
|
||||
while :
|
||||
do
|
||||
echo -e "What is the directory with the pdfs?"
|
||||
echo "Where is the directory that has the PDF statments with address?"
|
||||
read PDFDIR
|
||||
#PDFDIR="/home/btmccrea/Downloads/pdfs"
|
||||
if [ -d $PDFDIR ]
|
||||
then
|
||||
break
|
||||
else
|
||||
echo -e "Directory not found."
|
||||
echo "Directory not found."
|
||||
fi
|
||||
done
|
||||
|
||||
#Get the folder for the output file.
|
||||
while :
|
||||
do
|
||||
echo -e "What is the output directory for the pdf's with missing addresses?"
|
||||
echo ""
|
||||
echo "What output directory do you want for the sorted PDF's?"
|
||||
read OUTPUTFOLDER
|
||||
#OUTPUTFOLDER="/home/btmccrea/Downloads/output"
|
||||
if [ -d $OUTPUTFOLDER ]
|
||||
then
|
||||
break
|
||||
else
|
||||
echo -e "Directory not found."
|
||||
echo "Directory not found."
|
||||
fi
|
||||
done
|
||||
|
||||
@@ -49,4 +53,10 @@ do
|
||||
fi
|
||||
|
||||
done
|
||||
|
||||
echo ""
|
||||
echo ""
|
||||
echo "All done, you can find the PDF statments at $OUTPUTFOLDER.
|
||||
echo ""
|
||||
echo ""
|
||||
exit
|
||||
Reference in new issue
Block a user