vimv - rename multiple files inside a text editor
vimv makes it easy to rename various files by letting you make the changes inside a text editor.
How does it work?
vimv from the command-line:
This will open
vi with the list of files in the current directory.
Change the filenames, save and exit.
The files will be renamed when you exit
Requires Python (run
python -V to check).
On Unix, Linux or macOS:
- Download the script
- Copy it to
- Rename it to
- Make it executable (
chmod +x /usr/local/bin/vimv)
vimv has NOT been tested on Windows.
You may need to run
chmod as super user:
sudo chmod +x /usr/local/bin/vimv
To use a different editor, e.g., the
vimv -e pico
To rename ALL files in a directory, including hidden files:
To rename files in a different directory, e.g., in the
To see the full list of options available:
Delete files by leaving a blank name where a filename used to be.
Debugging and history
A log of the changes is written to
Don't use filenames with double quotes.