Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

batch rename

Project Description
__br__ (Batch Rename)

br [ __-h__ ] [ __-v__ ] [ __-o__ ] [ __-t__ ] [ __-i INDEXES__ ] [ __-d DIRECTORY__ ] [ __-p PATTERN__ ] ...

__BR__ (Batch Rename) is an unix utility to ease renaming of a batch of files.

__-o__, __--output__
cause __br__ to be verbose, showing files after they are renamed

__-t__, __--test__
test run, enables __--output__ too

__-i__, __--indexes__ = _INDEXES_
substring of indexes that need to be replaced with the new title, in form of x:y

__-d__, __--directory__ = _DIRECTORY_
directory containing batch of files

__-p__, __--pattern__ = _PATTERN_
regular expression for renaming pattern

_TITLE_ new title to replace the old one

__-h__, __--help__
Display help information and exit.

__-v__, __--version__
Display version information and exit.

+ `` traditional easy_install or pip
+ `setup.cfg` for distutils2 installation
+ `scripts/br` executable binary
+ `br/` a separate library packaged version

MrmacHD:~$ ls *.txt
111111.txt 222222.txt 333333.txt
MrmacHD:~$ br -t -i 2:3 -p \*.txt test
111111.txt -> 11test111.txt
222222.txt -> 22test222.txt
333333.txt -> 33test333.txt



MrmacHD <>

Release History

Release History

This version
History Node


Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
br-0.1.tar.gz (2.4 kB) Copy SHA256 Checksum SHA256 Source Feb 11, 2013

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting