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

appendfilename-2022.1.4.1-py3-none-any.whl (7.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: appendfilename-2022.1.4.1-py3-none-any.whl
  • Upload date:
  • Size: 7.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.10

File hashes

Hashes for appendfilename-2022.1.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4ae94f6cf8c292a6faf82b5ca571e2442d82107704fa61099706024bd62994f6
MD5 ced0f11f6d71b904fa447802fc1878e0
BLAKE2b-256 bcede614e413600a6d7a057b30c59d3f081d12a98e3d35281e90a05d832939aa

See more details on using hashes here.

Supported by

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