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


Release history Release notifications

This version
History Node

2018.02.03.1

History Node

2017.11.11

History Node

2017.08.22

History Node

2016.09.11

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
appendfilename-2018.02.03.1-py3-none-any.whl (8.5 kB) Copy SHA256 hash SHA256 Wheel py3 Feb 3, 2018

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page