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.

Files for re-name, version 0.0.23
Filename, size File type Python version Upload date Hashes
Filename, size re_name-0.0.23-py3-none-any.whl (4.6 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size re_name-0.0.23.tar.gz (2.8 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page