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.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

guessfilename-2020.3.1.1-py3-none-any.whl (35.0 kB view details)

Uploaded Python 3

File details

Details for the file guessfilename-2020.3.1.1-py3-none-any.whl.

File metadata

  • Download URL: guessfilename-2020.3.1.1-py3-none-any.whl
  • Upload date:
  • Size: 35.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.5.3

File hashes

Hashes for guessfilename-2020.3.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 dccedaa31453cb2d85371a342089606e447d632f7bad36f4d97d1ebad4356d11
MD5 059f14d66af9fe0bf9c44a8fc062913b
BLAKE2b-256 f9897986779e101aab6ff9589998583de1e71abf1f270eb367d76968b173a83b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page