For converting pdf to text I am using the following command:
pdf2txt.py -o text.txt example.pdf # It will convert example.pdf to text.txt
But I have more than 1000 pdf files which I need to convert to text file first and then do the analysis.
Is there a way through which I can use this command to iterate over the pdf files and convert all of them?