renameutils: Underappreciated tools

I think I mentioned qmv, part of the renameutils package, a long while ago, but never said anything about what it was or what it did.

That’s an unkind thing, because qmv in particular is something I use quite often.


qmv relies on your $EDITOR to give you a left-and-right display of file names. Edit the column on the right, and when you exit the editor, the changes will be applied.

For my own part, I usually use the --format=destination-only option, because except with very long lists, there’s little need for me to see the old file name.

It also occasionally gets in the way of search-and-replace efforts within vim.

Just as an example of what I use this for, look back at the old exiftool gimmick. Those files get renamed according to their exif data, with the old file names smushed up against the new.

With qmv I can quickly arrange any leftover files, add or remove other information, do whatever I like in vim, and when I exit, the changes are applied.

Pretty simple, and in most cases, hard to mess up.

Now if I was clever, I’d figure out a way to use this with pip. 🙂

7 thoughts on “renameutils: Underappreciated tools

  1. Pingback: Links 2/7/2013: Linux 3.10, ALT Linux 7.0 | Techrights

  2. Anonymous Penguin

    There’s also the moreutils package, which includer vidir. It provides a vi-like interface for renaming files. You can experiment around, and then save to commit the changes.

  3. Pingback: mmv: Nifty, but takes some getting used to | Inconsolation

  4. Pingback: Many paths to the same destination | Inconsolation

  5. Pingback: rntools: An unexpected find | Inconsolation

  6. Pingback: rename: The built-in filename sifting tool | Inconsolation

  7. Pingback: Bonus: K.Mandla’s order of battle | Inconsolation

Comments are closed.