Skip to main content

Move files by text edit

Project description

Organising large amounts of files via the command line is cumbersome. The standard UNIX mv command can rename a file or directory, or move items in bulk, but the two operations cannot be combined. Furthermore, editing capabilities on the command line offered by most shells are too limited to comfortably alter long file or directory names, or add characters from foreign character sets. Names containing spaces or other special characters should be quoted or escaped, adding yet another layer of annoyance.

Larry Wall’s rename complements mv with the ability to rename in bulk, but being based on regular expressions it is suited mostly for file sets that share a common naming structure. It also requires fluidity in Perl’s regular expression syntax to be useful, which sets a very high bar for entry.

Mvi (which can be seen to be either a contraction of “mv vi” or a more general abbreviation of “move interactively”) aims to simplify bulk renames of files and directories by opening the directory listing in a text editor, thus providing a powerful interface for editing destination paths. Names can be changed by editing the lines in place while preserving order. Upon save and exit mvi will show a list of scheduled rename operations and ask for confirmation before performing the changes on disk.

Project details

Release history Release notifications | RSS feed

This version


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for mvi, version 1.0
Filename, size File type Python version Upload date Hashes
Filename, size mvi-1.0-py3-none-any.whl (5.2 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size mvi-1.0.tar.gz (3.3 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page