Re: OT: Wildcard renaming of files
"csj" == csj <csj@mindgate.net> writes:
csj> I have a bunch of files I want to rename from .html to .htm. Is
csj> there I way to rename them all at once?
$ mmv '*.html' '#1.htm'
See mmv(1) for more info. The quotes are necessary, because you want
`mmv' to do the wildcard expansion instead of the shell; alternately,
you can give the expressions on stdin rather than the command line.
The program `mmv' comes in the package of the same name.
\\// | R | T R | L B | //\\ ~ Michael Abraham Shulman
mailto:shulman@caltech.edu ~ jabber://mas@jabber.org
http://kurukshetra.cjb.net/ ~ GnuPG Public Key #21A279E5
Nature has placed nothing so high that virtue can not reach it.
-- Curtius-Rufus
Reply to: