Dateien von uppercase nach lowercase konvertieren

Florian Lohoff flo at rfc822.org
Tue Apr 18 17:20:49 CEST 2000


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

Flo
-- 
Florian Lohoff		flo at rfc822.org		      	+49-subject-2-change
"Technology is a constant battle between manufacturers producing bigger and
more idiot-proof systems and nature producing bigger and better idiots."


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



More information about the Linux mailing list