interactive rename files using favorite editoror
Project description
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
1.0.0
Python version
irename works only with Python 3.3+. Older Python versions are unsupported.
Usage
Everything is in help :) Just execute:
irename --help
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
Installation
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
Using pipsi
pipsi install –python3 irename
Using sources
Download sources from Github:
wget -O 1.0.0.zip https://github.com/msztolcman/irename/archive/1.0.0.zip
or
curl -o 1.0.0.zip https://github.com/msztolcman/irename/archive/1.0.0.zip
Unpack:
unzip 1.0.0.zip
And install
cd irename-1.0.0 python3 setup.py install
Voila!
Contact
If you like or dislike this software, please do not hesitate to tell me about this me via email (marcin@urzenia.net).
If you find bug or have an idea to enhance this tool, please use GitHub’s issues.
License
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.
ChangeLog
v1.0.0
First public version
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file irename-1.0.0.tar.gz
.
File metadata
- Download URL: irename-1.0.0.tar.gz
- Upload date:
- Size: 4.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c401163bf2a156d5bcc86640138df061f6baf7a3bc33292ff998ab43f41ff218 |
|
MD5 | 29a3f10f029e90eb16da725eaedba83a |
|
BLAKE2b-256 | a93cd014bffaa565ef92cfdf00cbfad58df0c5936446e139dbce39ea042901a2 |
File details
Details for the file irename-1.0.0-py2.py3-none-any.whl
.
File metadata
- Download URL: irename-1.0.0-py2.py3-none-any.whl
- Upload date:
- Size: 7.5 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1cf88a5fdf666a0fdea008f5a80414ac74aedf93e41e58a145a193592cf7e4df |
|
MD5 | 9fcbeacd4ce7eb50de25a863b779125e |
|
BLAKE2b-256 | 6213de2a13aa2b823074f2f6ea184a3312c7d3b795cd8f6406683a71c7b838bd |