Olá,

Você pode fazer isso:

#!/bin/bash

for file in *
do
        cat $file | tr [:upper:] [:lower:] > alterado-$file
done

[]'s
Henrique


|Pessoal, tenho um arquivo chamdao FILE.TXT e gostaria de convertê-lo para 
|file.txt, como faço isto em bash? O problema maior é que tenho que
|converter cerca de 2.000 arquivos. Gostaria de fazer um script que
|verificava todo um diretório.
|
|alguém tem uma idéia?
|
|Desde já agradeço
|
|Daniel Cordeiro


-- 
Henrique Pedroni Neto
Administrador de Rede - ITAL (http://www.ital.org.br)
E-mail: [EMAIL PROTECTED]
UIN: 8146255
Dúvidas sobre Debian? Visite o Rau-Tu: http://rautu.cipsga.org.br
"One foot to rule them all" - GNOME

Attachment: pgpopw4nZXQS7.pgp
Description: PGP signature

Responder a