Skip to content

Fully configurable script to watch a directory for pdf files, scan the contents, match to a set of rules, and rename and file them appropriately.

License

Notifications You must be signed in to change notification settings

alarobric/PyPdfRenamer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Summary

This python script watches a given directory for new pdf files and renames and moves files according to a set of rules.

Dependencies

Python 3 with the following libraries from pypi:

pdftotext (from poppler-utils)

Installation

Just download, set up your configuration file, and run with python.

Configuration

Coming soon...

Todos

  • default date format
  • fix pylint errors
  • change remaining print statements to logger
  • document code
  • create examples, documentation

Future

Acknowledgements

The idea came from online resources for going paperless, but I didn't feel like buying Hazel just for the file moving, and I couldn't find much else I liked.

I came across Joe Workman's Paperless ruby app, which was almost what I was looking for, but it overwrote files and was focused more on Evernote. I don't know Ruby at all and wasn't very comfortable making changes there, so I thought a more fun project would be to create it myself in Python. So this is very heavily inspired from that project.

For the implementation, I also found this post helpful for some of the python code, although I ended up using a different pdf extractor.

About

Fully configurable script to watch a directory for pdf files, scan the contents, match to a set of rules, and rename and file them appropriately.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages