Skip to main content

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

Project description

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

appendfilename-2019.10.20.1-py3-none-any.whl (7.4 kB view details)

Uploaded Python 3

File details

Details for the file appendfilename-2019.10.20.1-py3-none-any.whl.

File metadata

  • Download URL: appendfilename-2019.10.20.1-py3-none-any.whl
  • Upload date:
  • Size: 7.4 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 appendfilename-2019.10.20.1-py3-none-any.whl
Algorithm Hash digest
SHA256 415a7840badf60ff1e69c1cb4c1ac5d49a96c36e325f00830e924edceeec6504
MD5 2fffe6a1c2e9ff52ccc5e69c9c2c3e2a
BLAKE2b-256 c5ddb037a648269cc3e0db891866d1b72a2275488a3fe1a291a5e7c4c0ad7ee7

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