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
#Get the folder with the pdf documents in it.
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 "To get started please answer 2 questions."
while :
do
echo -e "Where is the directory with ALL the pdf statments?"
read PDFDIR
if [ -d $PDFDIR ]
then
break
else
echo "Directory not found."
fi
done
#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 "To get started please answer 2 questions."
#while :
#do
# echo -e "Where is the directory with ALL the pdf statments?"
# read PDFDIR
# if [ -d $PDFDIR ]
# then
# break
# else
# echo "Directory not found."
# fi
#done
#Get the folder for the output file.
echo ""
while :
do
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
if [ -d $OUTPUTFOLDER ]
then
break
else
echo "Directory not found."
fi
done
#echo ""
#while :
#do
# 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
# if [ -d $OUTPUTFOLDER ]
# then
# break
# else
# echo "Directory not found."
# fi
#done
#Create the csv and headers for the Addresses. It is tab separated.
mkdir $OUTPUTFOLDER/Addresses