[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Script pour supprimer recursivement...



Le Sun 27/04/2003, David CABATON disait
> Salut...
> 
> Je cherche un script ou une commande qui supprime tous les fichiers 
> *.html *.htm~ *.php~ à partir d'un repertoire racine et dans tous les 
> sous repertores....

Avec zsh rm **/*.{html,htm~,php}

sinon avec un shell moins puissant
find . -name \*.html -o -name \*.htm~ -o -name \*.php|xargs rm


-- 
Erwan



Reply to: