removing questions

This commit is contained in:
TRBC Developer committed 2024-01-22 16:48:32 +00:00
1 parent 053b3ef75f
commit 6930351401
1 file changed
+26 -26
+26 -26
View File
@@ -1,33 +1,33 @@
#!/bin/bash #!/bin/bash
#Get the folder with the pdf documents in it. #Get the folder with the pdf documents in it.
echo "" #echo ""
echo "This will sort out the addresses in all the Statement PDF's into 2 folders so that you can then run the Merge file." #echo "This will sort out the addresses in all the Statement PDF's into 2 folders so that you can then run the Merge file."
echo "To get started please answer 2 questions." #echo "To get started please answer 2 questions."
while : #while :
do #do
echo -e "Where is the directory with ALL the pdf statments?" # echo -e "Where is the directory with ALL the pdf statments?"
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.
echo "" #echo ""
while : #while :
do #do
echo -e "What output directory do you want for the sorted pdf's? This will sort into 2 folders, Missing_Addresses and Address" # echo -e "What output directory do you want for the sorted pdf's? This will sort into 2 folders, Missing_Addresses and Address"
read OUTPUTFOLDER # read OUTPUTFOLDER
if [ -d $OUTPUTFOLDER ] # if [ -d $OUTPUTFOLDER ]
then # then
break # break
else # else
echo "Directory not found." # echo "Directory not found."
fi # fi
done #done
#Create the csv and headers for the Addresses. It is tab separated. #Create the csv and headers for the Addresses. It is tab separated.
mkdir $OUTPUTFOLDER/Addresses mkdir $OUTPUTFOLDER/Addresses