Because downloaded papers seldom have names that a human can identify.
First download pdftoxml
and add to your path: linux, MacOS.
Next add paper-rename.py
to your path. Then run:
paper-rename.py -f paper.pdf
paper-rename.py --file paper.pdf
paper-rename.py --dir path2folder
I wrap this in a script to maintain my papers repository.
Papers which have journal names written at the top are incorrectly parsed. I haven't been able to find a simple solution to this problem. Contributions are welcome.