Vreau sa redenumesc niste fisiere care se numesc in stilul:

000502  000920  001231  010218  010502  990616  990801  991004  991217

in 000502.txt 000920.txt etc. Comanda rename are un man page foarte 
scurt din care practic nu inteleg cum se foloste. Incercarea mea 
dos-uista "rename * *.txt" nu a mers.
In man scrie "replace the first occurence of from in their name by to"
Am dat "rename 000 costi" doar ca sa testez (ar trebui sa apara 
costi502, costi920, etc) si nici asta nu face nimic.



RENAME(1)                  Linux Programmer's Manual                 
RENAME(1)

NAME
       rename - Rename files

SYNOPSIS
       rename from to file...

DESCRIPTION
       rename  will  rename  the specified files by replacing the first 
occur-
       rence of from in their name by to.

       For example, given the files foo1, ..., foo9, foo10, ...,  
foo278,  the
       commands

              rename foo foo0 foo?
              rename foo foo0 foo??

       will turn them into foo001, ..., foo009, foo010, ..., foo278.

       And
              rename .htm .html *.htm

       will fix the extension of your html files.

SEE ALSO
       mv(1)



-- 
Ce nu te omoara ti-o intareste.



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


Raspunde prin e-mail lui