Bren is an urwid-based batch rename utility written in Python.
virtualenv .env
. .env/bin/activate[.fish]
pip install -r requirements.txt
Bren takes a file path as positional argument and allows the file names listed in the specified file to be renamed.
ls -1 . > files.txt
./bren.py files.txt
To avoid having to generate this intermediate file it's possible to use process substitution.
# Bash
./bren.py <(ls -1 .)
# Fish
./bren.py (ls -1 | psub)