Possible Duplicate:
Use slashes in sed replace
I need to find the following string /a/b/c and replace it with /r/s/t
It is a string and not a folder
/sam/pam/nancy –> /tim/cook/iphone
I am in the directory and just need to update multiple files having this line.
Use
sedto change the files in-place. For example: