in reply to Search and Replace Entire Directories
find ./ -type f | xargs perl -i.bak -pe 's!replace!with this!g'; [download]
 - ask
-- ask bjoern hansen, http://ask.netcetera.dk/ !try; do();