Skip to content

a simple tool that sets (parts of) the filename as title for PDFs

License

Notifications You must be signed in to change notification settings

dthirst/write_title_to_pdf_metadata

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

a simple tool that sets (parts of) the filename as title for PDFs


If your PDF filenames are formatted as <author> - <year> - <title>.pdf, this tool will put <title> in the title metadata field of your pdf. Otherwise it will just put the whole filename as title. usage:

  • download script
  • conda install pdfrw or pip install pdfrw
  • run python write_title_to_pdf_metadata.py -p <PATH_TO_YOUR_PDFs>

WARNING: this will overwrite your PDF files. Make a backup before you use this. The tool is provided as it is. I do not assume any liability for lost data.

About

a simple tool that sets (parts of) the filename as title for PDFs

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages