in reply to Find and Replace text script?
find . -type f -name '*.html' -exec perl -pi -e 's/php\?/html/g' {} \;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
(OT) Re^2: Find and Replace text script?
by Hue-Bond (Priest) on Jul 13, 2006 at 19:41 UTC | |
by duckyd (Hermit) on Jul 14, 2006 at 23:22 UTC | |
|
Re^2: Find and Replace text script?
by bobafifi (Beadle) on Jul 13, 2006 at 19:46 UTC | |
by davido (Cardinal) on Jul 13, 2006 at 20:19 UTC | |
by bobafifi (Beadle) on Jul 13, 2006 at 20:34 UTC | |
|
Re^2: Find and Replace text script?
by runrig (Abbot) on Jul 13, 2006 at 19:52 UTC | |
by duckyd (Hermit) on Jul 14, 2006 at 23:24 UTC |