Dateien von uppercase nach lowercase konvertieren

Nils Bokermann nilsb at bermuda.de
Tue Apr 18 18:02:37 CEST 2000


Florian Lohoff writes:
 > On Tue, Apr 18, 2000 at 03:21:26PM +0000, Michael Both wrote:
 > > Mahlzeit!
 > > 
 > > Gibt es ein command, mit dem ich Dateinamen von Grossschreibung nach
 > > Kleinschreibung konvertieren kann?
 > 
 > for i in *; do j=`echo $i | tr 'A-Z' 'a-z'`; mv $i $j; done

Geht auch kuerzer:

for i in *; do mv $i `echo $i | tr 'A-Z' 'a-z'`; done

Bye, Nils
-- 
Nils Bokermann           /"\
Johanneswerkstr. 90      \ /  ASCII Ribbon Campaign 
33613 Bielefeld           x   Say NO to HTML in email and news
Germany                  / \ 

-
Hinweise zur Benutzung dieser (und anderer Mailing-Listen) bitte beachten:
--> http://lug-owl.de/mailinglist_hints.html <--



More information about the Linux mailing list