Question : find and replace

Hi All

I want to search the whole filesystem for [email protected] and replace it with another email address.

Any ideas on how to do this?

Answer : find and replace

might be easier to read as a code snippet
1:
find / -type f -exec grep -l '[email protected]' {} \; | xargs -i sed -i 's/[email protected]/[email protected]/' {}
Open in New Window Select All
Random Solutions  
 
programming4us programming4us