Help with bash command to change lots of file names

Jeremy Prior jez at netcraft.com
Fri May 10 09:25:28 BST 2002


On Fri, 2002-05-10 at 09:06, Natalie S. Ford wrote:
> > pity you can't do
> > 
> > ren CHAP*.txt ch*.tex
> > 
> > like you can in dos...

That's not possible due to the fact that the shell expands wildcard
characters rather than making each program do it.  But you probably knew
that already.

Anyway, Here's what I posted the last time this came up:

    http://listserver.uk.freebsd.org/pipermail/freebsd-users/2000-April/001200.html
    http://listserver.uk.freebsd.org/pipermail/freebsd-users/2000-April/001202.html

jez
-- 
      Jeremy Prior  <jez at netcraft.com>  http://www.netcraft.com/
 Netcraft Ltd, Treenwood Ho, Rowden La, Bradford-on-Avon, BA15 2AZ. UK
       Tel: +44-1225-867932 (direct-dial)  Fax: +44-1225-867700





More information about the Ukfreebsd mailing list