Skip to main content

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

Project description

Usage:
guessfilename.py [<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 http://karl-voit.at/managing-digital-photographs/

copyright:
  1. by Karl Voit
license:

GPL v3 or any later version

URL:

https://github.com/novoid/guess-filename.py

bugreports:

via github or <tools@Karl-Voit.at>

Options:
-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.

Built Distribution

guessfilename-2021.8.28.1-py3-none-any.whl (38.4 kB view hashes)

Uploaded py3

Supported by

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