Linux renomment plusieurs fichiers
$ for i in $( ls ); do mv $i $i.old; done
David Diamant
$ for i in $( ls ); do mv $i $i.old; done
> ls | while read fname
> do
> echo mv $fname ${fname/.log/.LOG/}
> done