skip to main
|
skip to sidebar
In Liberated Form
Thursday, January 29, 2004
Replace a string over a directory tree...
I received this tip from a coworker of mine,
John Sutherland
. Ever need to search and replace a string over a directory tree?
find . -name '*.html' -exec perl -pi -e 's/old text/new text/g' {} \;
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
Blog Archive
►
2009
(1)
►
December
(1)
►
2007
(1)
►
August
(1)
▼
2004
(19)
►
August
(5)
►
July
(1)
►
June
(3)
►
May
(1)
►
April
(2)
►
February
(1)
▼
January
(6)
Substituting Gecko for MSHTML
Replace a string over a directory tree...
Xen and the Art of C# Query Programming
Relaying mail to a remote MTA with Qmail...
An Outlook-style Calendar: Month Control
A Simple C# Logging Class...
Links
Visit my homepage
About Me
RJ
Seattle, Washington, United States
View my complete profile
No comments:
Post a Comment