Andy's linux notes
Monday, 21 February 2011
Directory wide search replace
Change foo to bar for all php files.
find . -name "*.php" -print | xargs sed -i 's/foo/bar/g'
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment