LinuxCommandLibrary

qmv

Rename files using a text editor

TLDR

Rename files in editor

$ qmv [files]
copy
Rename all files in directory
$ qmv *
copy
Use specific editor
$ EDITOR=[vim] qmv [files]
copy
Dual column format
$ qmv -f do [files]
copy
Destination only format
$ qmv -f dc [files]
copy
Verbose output
$ qmv -v [files]
copy

SYNOPSIS

qmv [-f format] [-v] [options] [files]

DESCRIPTION

qmv (quick move) opens a list of filenames in a text editor, allowing you to rename files by editing their names directly. After saving and closing the editor, all modified filenames are applied as rename operations, making it easy to perform batch renames using familiar editor features like search-and-replace, macros, and multi-cursor editing.
The default dual-column format shows original and destination names side by side for clear visualization of changes. Alternative formats show destination names only or original names only. Only lines that differ between source and destination trigger actual renames, so unchanged files are left untouched.

PARAMETERS

-f, --format FORMAT

Column format.
-v, --verbose
Verbose output.
-o, --options OPTS
Editor options.
-e, --editor CMD
Editor command.
--help
Show help.

FORMATS

do - Dual column, original and destination
dc - Destination column only
so - Single column, original only

CAVEATS

Part of renameutils package. Editor must be text-based. Conflicts handled interactively.

HISTORY

qmv is part of the renameutils package created by Oskar Liljeblad. It provides intuitive file renaming using familiar editor interfaces.

SEE ALSO

qcp(1), rename(1), mmv(1), vidir(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community