[nSLUG] Find and replace command

Sean Rickerd srickerd at suse.com
Thu Oct 2 12:25:50 ADT 2014

Best way would be to write a script to look at each file and sed the change.

Sean Rickerd
Ingénieur Commercial/Sales Engineer

>>> Trina Conrad <trina.hanson79 at gmail.com> 10/2/2014 11:23 AM >>>

Hello all, 

I am working on my website and am doing some updates to it and I would like to know is there a way to do a blanket find and replace for multiple files so that I do not need to open each file and replace the one line that is needing to be replaced? 

I am trying to replace is this line: 

<body background="Files/back.jpg" style="background-attachment: fixed; background-repeat: repeat-y;">

With this: 


This needs to be able to sort through multiple folders, sub-folders and even more sub-folders. :) 


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nslug.ns.ca/pipermail/nslug/attachments/20141002/ea4a194d/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Sean Rickerd.vcf
Type: application/octet-stream
Size: 574 bytes
Desc: not available
URL: <http://nslug.ns.ca/pipermail/nslug/attachments/20141002/ea4a194d/attachment-0001.obj>

More information about the nSLUG mailing list