Crates.io | quiren |
lib.rs | quiren |
version | 0.2.0 |
source | src |
created_at | 2021-07-17 21:14:19.699045 |
updated_at | 2021-07-17 21:14:19.699045 |
description | Quick editor rename tool, for files and directories |
homepage | |
repository | |
max_upload_size | |
id | 424191 |
size | 13,253 |
Edits the filenames of the current directory on the editor of your choice.
From the git repository:
$ git clone https://github.com/Sinono3/quiren.git
$ cargo install --path quiren
Usage: quiren [options] [dir]
Options:
-h, --help Prints help information
-r, --retry Re-enters the editor after an error
Examples:
# On the current directory
$ quiren
# On another directory
$ quiren books
$ quiren /home/dude/abc/
I was looking for a tool that would let me edit filenames for the current directory in Vim. I found massren
on the AUR, and I didn't like it at all. It was so bloated to fulfill such a simple task. Why does it automatically create a config file. Why does it a create an SQLite database (For undoing renames, but still, it should have been on the cache directory). Why do I have to scroll through a huge wall of warning texts to actually edit the filenames. Why does it take so long to actually save the changes.
Well, enough rant about that tool. If I looked a little bit more into it I probably would have found something that suited my needs, but I thought trying to make it myself would be a fun project, so here we are.