Skip to main content
Donate to the Python Software Foundation or Purchase a PyCharm License to Benefit the PSF! Donate Now

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.

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

Supported by

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