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.
|
#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 :
|
while :
|
||||||
do
|
do
|
||||||
echo -e "What is the directory with the pdfs?"
|
echo "Where is the directory that has the PDF statments with address?"
|
||||||
read PDFDIR
|
read PDFDIR
|
||||||
#PDFDIR="/home/btmccrea/Downloads/pdfs"
|
|
||||||
if [ -d $PDFDIR ]
|
if [ -d $PDFDIR ]
|
||||||
then
|
then
|
||||||
break
|
break
|
||||||
else
|
else
|
||||||
echo -e "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 -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
|
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 -e "Directory not found."
|
echo "Directory not found."
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
@@ -49,4 +53,10 @@ do
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
done
|
done
|
||||||
|
|
||||||
|
echo ""
|
||||||
|
echo ""
|
||||||
|
echo "All done, you can find the PDF statments at $OUTPUTFOLDER.
|
||||||
|
echo ""
|
||||||
|
echo ""
|
||||||
exit
|
exit
|
||||||
Reference in new issue
Block a user