> Je cherche un moyen d'effacer rapidement tout ce qui ressemblerait à > toto.* sauf toto.tex, avec un shell bash. > Vous avez des idées ?
Méthode bovine, mais remplit le cahier des charges : mv toto.tex titi.tex rm -f toto.* mv titi.tex toto.tex Attention : il faudrait tester que titi.tex n'existe pas -- Sylvain Lhullier - http://sylvain.lhullier.org/ Secrétaire de l'AFUL - Parinux - FFII France APRIL - ADULLACT - Mongueurs de Perl Les objets se partagent, les idées se propagent. _________________________________ Linux mailing list [email protected] http://lists.parinux.org/mailman/listinfo/linux
