APPLE ][e  //  georgemastro.com  //  64K   ][
GEORGE MASTRO — DISK VOLUME 1982

] CATALOG
] TYPE REPLACE-TEXT-IN-ALL-FILES-IN-A-PROJECT-LINUX.TXT

Replace text in all files in a project – Linux

> 2014 — 06 — 18  ·  #web-development

Just run this:

grep --include={*.php,*.html,*.htm} -rnl './' -e "text" | xargs -i@ sed -i 's/text/new text/g' @
replacing the extensions you want to be included.

(C) 1983 GEORGE MASTRO — ATHENS, GR *** DISK VOLUME 1983  ·  BYTES FREE: 21847 ***
]