[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Dumb little utilities



On Tue, Sep 03, 2002 at 01:02:20PM -0600, J. Scott Edwards wrote:
> On Wed, 28 Aug 2002 Romain Lerallut wrote:
> > Thus spake J. Scott Edwards on Tue, Aug 27, 2002 at 09:59:28PM -0600:
> > > file renamer (that can change case).
> >
> > Just asking: anything that mmv can't do ?
> 
> (I guess that you meant 'mv'?)

There really is something called 'mmv'. Check the package by the same
name.

For example:

> Anyway, it's similar to the 'rename' command that someone else mentioned.
> It renames multiple files like converting all the files in a directory
> from upper to lower case

  mmv \* \#l1

> or changing the extension of the *.c files to *.x.

  mmv \*.c \#1.x

The ';' character on the left-hand side can be used to recurse through
subdirectories.

-- 
Colin Watson                                  [cjwatson@flatline.org.uk]



Reply to: