Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: multi-file search-and-replace

by pzbagel (Chaplain)
on Jun 17, 2004 at 00:03 UTC ( [id://367480]=note: print w/replies, xml ) Need Help??


in reply to multi-file search-and-replace

The easy way:

find . -name \*.html -type f| xargs perl -pi -e \ 's/foo\@there\.com/bar\@there.com/'

Later

Replies are listed 'Best First'.
Re^2: multi-file search-and-replace
by tachyon (Chancellor) on Jun 17, 2004 at 00:51 UTC

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://367480]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (7)
As of 2024-03-29 00:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found