[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [linux-team] replace massif
On Wed, Aug 25, 1999 at 06:36:49PM +0200, aef@salsa.be.eu.org wrote:
> Quelle est la commande qui permet de remplacer la
> chaine "brol" par "truc" dans tous les fichiers *.html
> du repertoire /home/coucou ?
Une facon de faire, avec bash et sed:
cd /home/coucou ; for i in *.html; do mv -i $i `echo $i | sed -e 's/brol/truc/'`; done
--
Frederic Dumont / / (_)__ __ ____ __
frederic.dumont@gate71.be / /__/ / _ \/ // /\ \/ /
PGP key 0711F125 /____/_/_//_/____/ /_/\_\ forever!!!!!!!
Linux? It's an OS, Jim, but not as we know it.
---------
Visit the Linux Supertore Online: http://www.redcorp.com !
If you want to be deleted from the list, send a mail to
majordomo@rtfm.be with "unsubscribe linux-team" in the body.