[LUGOS] UPPERCASE v lowercase?

Bostjan Muller neonatus at neonatus.net
Mon Jan 28 12:44:05 CET 2002


* On 28-01-02 at 12:00 Tomaz Zupan (tomaz.zupan at orpo.si) wrote:
+----Here quoted text begins----+
> Pozdravljeni!
> 
> Kako bi v enem direktorije vse datoteke preimenoval v lowercase?
> 
> LP, Tomaž Zupan
> 
+----and here the quote ends----+
Hmm naprimer takole:
for i in ./*; do mv -i `echo $i |sed 's/^\.\///'` `echo $i |sed 's/^\.\///' |awk '{print tolower($s)  }'`; done; done

Ni ravno najlepse, vendar bi pa delovalo (samo za navadne datoteke - za
datoteke in direktorije, ki se zacnejo z . ne deluje.

LP

B.
-- 
[*] Boštjan Müller - neonatus at neonatus.net - http://neonatus.net/~neonatus [*]
[*]    GPG/PGP key -> finger: neonatus at neonatus.net, DSA id: 0x9B2FF108    [*]
[*] Celular: +386(0)41243189, Powered by Debian GNU/LiNUX - ICQ #:7506644  [*]
"Its not a bug...just think of it as a new undocumented feature" - M$ TechSupport



More information about the lugos-list mailing list