From 3f28e1d0231025c9826bc43aa4681a2cf375efba Mon Sep 17 00:00:00 2001 From: TRBC Developer <5380239-trbcdev@users.noreply.gitlab.com> Date: Thu, 18 Jan 2024 20:09:24 +0000 Subject: [PATCH] Reworded the statements to make it easier to understand --- Sort_and_Merge_Files.sh | 20 +++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) diff --git a/Sort_and_Merge_Files.sh b/Sort_and_Merge_Files.sh index 848a14f..18d6f4a 100755 --- a/Sort_and_Merge_Files.sh +++ b/Sort_and_Merge_Files.sh @@ -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 \ No newline at end of file