Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Jun 1999 14:37:50 -0500
From:      Dan Nelson <dnelson@emsphone.com>
To:        vagner@WWW.TIMANDPATRICK.COM
Cc:        questions@FreeBSD.ORG
Subject:   Re: capt to lower case
Message-ID:  <19990615143749.A40362@dan.emsphone.com>
In-Reply-To: <XFMail.990615123407.vagner@vagner.com>; from "vagner@WWW.TIMANDPATRICK.COM" on Tue Jun 15 12:34:07 GMT 1999
References:  <XFMail.990615123407.vagner@vagner.com>

next in thread | previous in thread | raw e-mail | index | archive | help
In the last episode (Jun 15), vagner@WWW.TIMANDPATRICK.COM said:
> I need a command to convert all the files in a directory
> from uppercase to lower case.

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

.. should work.

	-Dan Nelson
	dnelson@emsphone.com


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990615143749.A40362>