Skip to main content

A small example package

Project description

Example Package

This is a tool that you can update file names in batch

#1589F0 re_name [old patten] [new patten]

optional parameters

-f --file This will make changes on file(s), you can only review the changes without this
--ext        Specify the file types you want to update
-s --suffix  Will append suffix. # stands for the sequence for file list

re_name -f '-\d' ""

hello1-1.txt  ---->  hello1.txt

re_name -f 55 ll -s "#"

he55o1.txt  ---->  hello1-1.txt
he55o2.txt  ---->  hello2-2.txt
he55o3.txt  ---->  hello3-3.txt

re_name -f "55" "ll" --prenum

he55o1.txt  ---->  001_hello1-1.txt

re_name -f "55" "ll" --prenum 5

he55o1.txt  ---->  00001_hello1-1.txt

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

re_name-0.0.23.tar.gz (2.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

re_name-0.0.23-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

File details

Details for the file re_name-0.0.23.tar.gz.

File metadata

  • Download URL: re_name-0.0.23.tar.gz
  • Upload date:
  • Size: 2.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.0

File hashes

Hashes for re_name-0.0.23.tar.gz
Algorithm Hash digest
SHA256 f8ec46e5629df25fde4fb9866c6ce7bd1b785e4331c40426117d204c00262549
MD5 f6b1fb1311964381ee5e0bf3d0c8cc9a
BLAKE2b-256 54b595af98db72be27d15ae3d19c4a583a9f66414ccc8a46112fda485cd54d5c

See more details on using hashes here.

File details

Details for the file re_name-0.0.23-py3-none-any.whl.

File metadata

  • Download URL: re_name-0.0.23-py3-none-any.whl
  • Upload date:
  • Size: 4.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.0

File hashes

Hashes for re_name-0.0.23-py3-none-any.whl
Algorithm Hash digest
SHA256 6c2015a0b546f2be115a824ff5af0df1d78a6c26146f867379e92405bf83ee88
MD5 66f60ca8a236cb61459ac96901d43638
BLAKE2b-256 de84d5d0298099f6e3d42fc3247ed1c9546f15cbffda957274672d2e3c3072be

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