Le 07 juin à 23:22 Geoffroy Carrier a écrit > 2009/6/7 Isabelle Ramade <[email protected]>: > > 2009_nomdevoyage_numerophoto.jpg > > nomdevoyage_numerophoto_w.jpg > > for i in *.jpg; do mv "$i" "`echo $i|sed 's/[^_]*_//;s/\.jpg$/_w\.jpg/'`"; > done > Pourrrais tu expliciter les substituions que tu réalises, celle-ci ne me semblant pas très évidentes.
-- Rejoingez les 5125 adhérents de l'April <http://www.april.org/adherer> Secrétaire de l'association toile-libre <http://toile-libre.org> +33 (0) 630 803 804 <http://thetys-retz.net/~endymion/pages/Contact> _________________________________ Linux mailing list [email protected] http://lists.parinux.org/mailman/listinfo/linux
