0.0
Low commit activity in last 3 years
A long-lived project that still receives updates
Interactive tool to rename pdfs based on author/title/year.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies

Development

 Project Readme

scholar-rename

Gem Version CI MIT

an interactive pdf-renamer tool.

install

[sudo] gem install scholar-rename

you'll also need: https://en.wikipedia.org/wiki/Pdftotext

for macOS, you can install w/ brew:

brew install pkg-config poppler

for Ubuntu:

sudo apt-get install poppler-utils

about

renames a pdf file to author-title-year.pdf or other formats based on your selection. academic people may find it useful for renaming pdfs that come in arbitrarily named file formats. it helps when searching for a specific pdf and when labeling pdfs.

metadata lookup

by default, scholar-rename queries the Semantic Scholar Graph API using the extracted pdf text to suggest an authoritative title/author/year. you'll be asked to confirm the match (auto-accepted when using --auto). if there's no internet connection, the api times out, or no match is found, scholar-rename falls back to its original manual line-picking flow -- nothing ever crashes or hangs waiting on the network. use --no-lookup to skip the network step entirely (useful when offline, batch-renaming many files, or avoiding the api's rate limits).