diff --git a/Sort_and_Merge_Files.sh b/Sort_and_Merge_Files.sh index 18d6f4a..52e25e1 100755 --- a/Sort_and_Merge_Files.sh +++ b/Sort_and_Merge_Files.sh @@ -5,36 +5,36 @@ #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 "Where is the directory that has the PDF statments with address?" - read PDFDIR - if [ -d $PDFDIR ] - then - break - else - echo "Directory not found." - fi -done +#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 "Where is the directory that has the PDF statments with address?" +# read PDFDIR +# if [ -d $PDFDIR ] +# then +# break +# else +# echo "Directory not found." +# fi +#done #Get the folder for the output file. -while : -do - 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 "Directory not found." - fi -done +#while : +#do +# 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 "Directory not found." +# fi +#done cd $PDFDIR for FILENAME in $PDFDIR/*