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

Re: Filenames



on Wed, Dec 13, 2000 at 08:35:27PM -0900, Ethan Benson (erbenson@alaska.net) wrote:
> On Thu, Dec 14, 2000 at 06:20:05AM +0100, Patrick Schnorbus wrote:
> > Hey folks...
> > 
> > i´ve just a little question!
> > 
> > I´ve installed xfstt. Now i want to use some TrueType Fonts but theses a 
> > problem. Most of them have capital letter filenames (TRUETYPEFONT.TTF)
> > but i need them as 'truetype.ttf'
> > Do you know a tool for this?
> 
> #! /bin/sh
> for x in *
> do
>         mv $x `echo $x | tr 'A-Z' 'a-z'`
> done

Or, equivalently and perhaps more intuitively:

    $ tr '[:upper:]' '[:lower:]'

...not sure if it makes a difference or not, but I believe the latter
may catch the odd extended characterset data which would be skipped by
the former.

-- 
Karsten M. Self <kmself@ix.netcom.com>    http://kmself.home.netcom.com/
 Evangelist, Zelerate, Inc.                      http://www.zelerate.org
  What part of "Gestalt" don't you understand?      There is no K5 cabal
   http://gestalt-system.sourceforge.net/        http://www.kuro5hin.org

Attachment: pgpiqHIMIQmuT.pgp
Description: PGP signature


Reply to: