On Sun, 24 Nov 2002, Marcus Lima wrote:

>       Para bash use:
>       tr [A-Z] [a-z]

Outra sa�da � usar o rename(1):

  "rename" renames the filenames supplied according to the rule specified
  as the first argument.  The perlexpr argument is a Perl expression
  which is expected to modify the $_ string in Perl for at least some of
  the filenames specified.  If a given filename is not modified by the
  expression, it will not be renamed.  If no filenames are given on the
  command line, filenames will be read via standard input.

  For example, to rename all files matching "*.bak" to strip the exten-
  sion, you might say

          rename 's/\.bak$//' *.bak

  To translate uppercase names to lower, you'd use

          rename 'y/A-Z/a-z/' *



Assinantes em 24/11/2002: 2245
Mensagens recebidas desde 07/01/1999: 191365
Historico e [des]cadastramento: http://linux-br.conectiva.com.br
Assuntos administrativos e problemas com a lista:
            mailto:[EMAIL PROTECTED]

Responder a