David CABATON wrote:

comment en shell bash convertir tous les fichiers d'un repertoire en majuscule...

for i in `ls`; do j=`echo $i |tr '[a-z]' '[A-Z]'` ;echo $j; done

for i in `ls`; do j=`echo $i |tr '[a-z]' '[A-Z]'` ;mv $i $j; done

Bonne journee



Répondre à