Skip to main content

Intelligent appending text to file names, considering file extensions and file tags

Project description

appendfilename
-----------------------------
Intelligent appending text to file names, considering file extensions and file tags

Usage:
./appendfilename.py [<options>] <list of files>

This tool inserts text between the old file name and optional tags or file extension.


Text within file names is placed between the actual file name and
the file extension or (if found) between the actual file namd and
a set of tags separated with " -- ".
Update for the Boss <NEW TEXT HERE>.pptx
2013-05-16T15.31.42 Error message <NEW TEXT HERE> -- screenshot projectB.png

Example usages:
./appendfilename.py --text="of projectA" "the presentation.pptx"
... results in "the presentation of projectA.pptx"
./appendfilename.py "2013-05-09T16.17_img_00042 -- fun.jpeg"
... with interactive input of "Peter" results in:
"2013-05-09T16.17_img_00042 Peter -- fun.jpeg"

Project details


Download files

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

Source Distribution

appendfilename-2016.09.11.tar.gz (1.1 kB view details)

Uploaded Source

File details

Details for the file appendfilename-2016.09.11.tar.gz.

File metadata

File hashes

Hashes for appendfilename-2016.09.11.tar.gz
Algorithm Hash digest
SHA256 b4ab30cbf21e8120dc084ea4bc54325addb965cb72dae962d737caaa5ebea88a
MD5 9bef3046979395b5ce10a1af581c85f5
BLAKE2b-256 9f907e3416bd136d966785d4a137d3c4c8a85753bfaca63e3b710296bb14a4c4

See more details on using hashes here.

Supported by

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