Little script to convert to lowercase attached. Please check the script before using and do not forget to do a chmod u+x ./convert_lowercase.sh Cheers, Patrick On Fri, 2002-11-08 at 05:39, Jim Christiansen wrote: > > Well, I just can't seem to get type1 fonts to register if they are in full > caps like ... > > AAABBB__.24 > AAABBB__.48 > AAABBBI_.24 > AAABBBI_.48 > AAABBBI_.PFB > AAABBBI_.PFM > AAABBB__.PFB > AAABBB__.PFM > AAABBEY_.24 > AAABBEY_.48 > AAABBEY_.PFB > AAABBEY_.PFM > AAABBI__.24 > AAABBI__.48 > AAABBI__.PFB > AAABBI__.PFM > AAABOB__.24 > AAABOB__.48 > AAABOBI_.24 > AAABOBI_.48 > AAABOBI_.PFB > AAABOBI_.PFM > AAABOB__.PFB > AAABOB__.PFM > > -- > Psyche-list mailing list > Psyche-list@redhat.com > https://listman.redhat.com/mailman/listinfo/psyche-list
#!/bin/sh # # delete spaces from filenames # for i in *.[Tt][Tt][Ff]; do mv "$i" `echo $i | tr -d ' '`; done # # delete & from filenames # for i in *.*; do mv "$i" `echo $i | tr -d '&'`; done # # delete ! from filenames # for i in *.*; do mv "$i" `echo $i | tr -d '!'`; done # # delete underscores from filenames # # for i in *.*; do mv "$i" `echo $i | tr -d '_'`; done # # delete minus signs in filenames # for i in *.*; do mv "$i" `echo $i | tr -d '-'`; done # # now convert all files to lowercase # for i in *.[Tt][Tt][Ff]; do mv "$i" `echo $i | tr '[A-Z]' '[a-z]'`; done # # end #