roberto ha scritto:
ciao
devo rinominare molti file con nome del tipo
file_1 ed estensioni diverse

in
file_2 rispettando le estensioni

ho provato con
mv file_1.* file_2.*

ma ho un errore

mv: when moving multiple files, last argument must be a directory

qualcuno ha gia'  affrontato lo stesso problema ?

Se vuoi fare tutto in bash:
$ for name in file_1.*; do mv $name file_2${name#file_1}; done

Davide

--
A tautology is a thing which is tautological.
--
Time flies like an arrow.  Fruit flies like a banana.


--
Per REVOCARE l'iscrizione alla lista, inviare un email a [EMAIL PROTECTED] con oggetto "unsubscribe". Per
problemi inviare un email in INGLESE a [EMAIL PROTECTED]

To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Rispondere a