sponsor Vim development Vim logo Vim Book Ad

emv : emv - external utilitity invoking vim for mass renaming

 script karma  Rating 16/4, Downloaded by 739  Comments, bugs, improvements  Vim wiki

created by
peter jakobi
 
script type
utility
 
description
emv - editor mv - is a perl script for Unix to use the power of vim to mass rename files, with the renaming and logging done in perl, and vim used to edit the filenames with visual block commands, s///g. In contrast to the original shell script, sorting and deleting lines is permitted.

You can specify a command of your own instead of the default /bin/mv. Also some special commands can be specified, which are run before any renames, including e.g. link target editing.

Help is available with --help and also in the editor buffer.

[small fix: should now work with older perls as well]

The current version is available from:
http://jakobi.github.com/script-archive-doc/
http://github.com/jakobi/script-archive/tree/master/cli.list.rename/
 
install details
Copy emv to a directory in $PATH. Perl, one of bash, ksh93 (also ok: pdksh), and mv must be available on the system. Making it work with Cygwin should be possible.
 

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
emv.tar.gz 2.00pj.4 2009-09-13 6.0 peter jakobi small fix to allow use of older perl versions
emv.tar.gz 2.0 2009-09-01 6.0 peter jakobi Initial upload
ip used for rating: 3.19.31.73

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
   
Vim at Github