Renombrar ficheros con expresión regular

Esto todavía no he tenido tiempo de probarlo pero me ha parecido un articulo interesante el cual de forma sencilla puede renombrar todos los ficheros.

Para

Comando Antes Despues
rename ’s/txt$/html/’ * testfil.txt testfil.html
rename ’s/.txt/.html/’ * restfil.txt testfil.html
rename ’s/$/.flv/’ * testfil testfil.flv
rename ’s/.txt$//’ * testfil.txt testfil
rename ’s/.txt//’ * testfiltxt.txt testfi.txt

Referencia:

http://ubuntuforums.org/showpost.php?p=3097076&postcount=3

Dejanos tu Comentario

Nombre: (Requerido)

E-Mail: (Requerido)

Sitio WEB:

Comentario: