#editor #rename #directory #git #directories #tool #filenames #choice #quick

app quiren

Quick editor rename tool, for files and directories

1 unstable release

0.2.0 Jul 17, 2021

MIT license

88 lines

Quiren (Quick Editor Renamer)

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]

    -h, --help      Prints help information
    -r, --retry     Re-enters the editor after an error


# 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.


~35K SLoC