Skip to main content
Python Software Foundation 20th Year Anniversary Fundraiser  Donate today!

Derive a file name according to old file name cues and/or PDF file content

Project description

Usage: [<options>] <list of files>

This little Python script tries to rename files according to pre-defined rules.

It does this with several methods: first, the current file name is analyzed and any ISO date/timestamp and filetags are re-used. Secondly, if the parsing of the file name did not lead to any new file name, the content of the file is analyzed.

You have to adapt the rules in the Python script to meet your requirements. The default rule-set follows the filename convention described on

  1. by Karl Voit

GPL v3 or any later version



via github or <>

-h, --help show this help message and exit
-d, --dryrun enable dryrun mode: just simulate what would happen, do not modify files
-v, --verbose enable verbose mode
-q, --quiet enable quiet mode
--version display version and exit

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for guessfilename, version 2020.11.21.1
Filename, size File type Python version Upload date Hashes
Filename, size guessfilename-2020.11.21.1-py3-none-any.whl (37.9 kB) File type Wheel Python version py3 Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page