Skip to content
 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 

Repository files navigation

edmv

A small tool for bulk-renaming files using the editor of your choice.

Demo here: http://youtu.be/EzhbTEh-7Fk

WARNING: May delete everything on your computer. Read the source code, then the LICENSE file, and then don't sue me.

Use it like this:

edmv foo bar baz

Or like this:

emdv *

It will invoke your editor on a list of the files provided, in this case foo, bar, and baz. Once you're done editing the filenames it will try to rename them to match any changes that you've made. Be careful!

You can tell edmv which editor to use by:

  • Supplying an argument to the --editor flag
  • Setting the $EDMV_EDITOR environment variable
  • Setting the $EDITOR environment variable
  • Not doing anything, in which case edmv will default to vi, just as Bill Joy intended

If you would like to use an OS X application for your editor, for example Sublime Text 2, it is speculated that you could put something like the following in your shell rc file: export EDMV_EDITOR='open -Wa "Sublime Text 2"'.

About

Use your favorite editor to rename files

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages