interactive rename files using favorite editoror
irename allows to easy rename many files using Your favorite editor.
When You call irename (with some options or paths) list of files is saved to text file, and Your favorite text editor is launched. You can edit names or paths in this file, and after You save changes and quit from editor, this changes are applied.
irename use by default editor set in environment variables: $EDITOR, or $VISUAL if the former is empty. If neither of them aren’t set, use vim.
Current stable version
irename works only with Python 3.3+. Older Python versions are unsupported.
Everything is in help :) Just execute:
Look at result:
% irename --help usage: irename [-h] [--editor EDITOR] [--editor-arguments ARGUMENTS] [--verbose] [--interactive] [--force] [--version] [files [files ...]] positional arguments: files files to rename optional arguments: -h, --help show this help message and exit --editor EDITOR, -e EDITOR Change default editor --editor-arguments ARGUMENTS, -c ARGUMENTS Pass additional arguments to editor --verbose, -v Be verbose --interactive, -i Ask before every rename --force, -f Do not ask if destination file already exists --version show program's version number and exit
- Using PIP
irename should work on any platform where Python is available, it means Linux, Windows, MacOS X etc.
Simplest way is to use Python’s built-in package system:
pip3 install irename
pipsi install –python3 irename
Download sources from Github:
wget -O 1.0.0.zip https://github.com/msztolcman/irename/archive/1.0.0.zip
curl -o 1.0.0.zip https://github.com/msztolcman/irename/archive/1.0.0.zip
cd irename-1.0.0 python3 setup.py install
If you like or dislike this software, please do not hesitate to tell me about this me via email (email@example.com).
If you find bug or have an idea to enhance this tool, please use GitHub’s issues.
The MIT License (MIT)
Copyright (c) 2016 Marcin Sztolcman
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
- First public version
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size irename-1.0.0-py2.py3-none-any.whl (7.5 kB)||File type Wheel||Python version py2.py3||Upload date||Hashes View|
|Filename, size irename-1.0.0.tar.gz (4.8 kB)||File type Source||Python version None||Upload date||Hashes View|
Hashes for irename-1.0.0-py2.py3-none-any.whl