On Sun, 2 May 2004, Keresztely-Krall Gyula wrote:

> exista candva un scriptulet in redhat care convertea directoare si fisere in
> uppercase in lowercase, stie cineva daca mai exista asa ceva ?
> Sau are cineva asaceva la indemana ?

     Este banal de scris asa ceva... uite un exemplu:

=====[ to_lower.sh ]=====
#!/bin/sh
ORIG=$1
LOWERCASE=`echo $ORIG | tr [:upper:] [:lower:]`;
if [ ! "$ORIG" == "$LOWERCASE" ]; then mv "$ORIG" "$LOWERCASE"; fi
=====[ to_lower.sh ]=====

apelabil astfel:
$ find . -type d -exec /path/to_lower.sh {} \;

cu toate variatiile posibile.

Desigur, un search scurt pe google ar fi scos vreo zece exemplu de
astfel de scriptulete in cateva secunde...

--
Mihnea-Costin Grigore          [ "Tenebus Ipsilo Ibinem Catehens" ]
no http:// as of 13.01.2004


--- 
Detalii despre listele noastre de mail: http://www.lug.ro/


Raspunde prin e-mail lui