S E R V E R   S I D E
View current page
...more recent posts

Nice one liner to recursively replace all occurrences of 'foo' with 'bar' in all .html files in the current directory and below:

find . -name "*.html" -print | xargs sed -i 's/foo/bar/g'

- jim 1-28-2009 4:18 pm [link] [add a comment]

older posts...