tips:linux:replacetxtinfiles
no way to compare when less than two revisions
Differences
This shows you the differences between two versions of the page.
| — | tips:linux:replacetxtinfiles [2009/06/08 15:50] (current) – created erik | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== Search & Replace Text Accross Multiple Files ====== | ||
| + | You can use Perl to quickly search and replace text across multiple files. For example to replace foo with bar all text files: | ||
| + | |||
| + | perl -pi -w -e ' | ||
| + | |||
| + | as seen [[http:// | ||
tips/linux/replacetxtinfiles.txt · Last modified: by erik
