<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1035961" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1035961</link>
    <description></description>
    <language>en</language>
          <item>
    <title></title>
    <link>https://www.webmaster-forums.net/webmasters-corner/searchreplace-unopened-files#comment-1207501</link>
    <description> &lt;blockquote class=&quot;bb-quote-body&quot;&gt;&lt;p&gt;&lt;strong&gt;JeevesBond;207449 wrote:&lt;/strong&gt; Can&#039;t think of anything without using GNU + Linux unfortunately, if you&#039;re brave enough to get &lt;a href=&quot;http://www.cygwin.com&quot; class=&quot;bb-url&quot;&gt;Cygwin&lt;/a&gt; then you could open up a terminal and type:&lt;br /&gt;
&lt;code&gt;find . -name &amp;#039;*.txt&amp;#039; -type f -print0 | sed &amp;#039;s/ /\\ /g&amp;#039; | xargs -l1 -0 -i sh -c &amp;quot;sed &amp;#039;s/Search Term/Replace Term/g&amp;#039; {} &amp;gt; {}temp &amp;amp;&amp;amp; mv {}temp {}&amp;quot;&lt;/code&gt;&#039;
&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;I&#039;d go with Cygwin too, if I had to do this on Microsoft Windows.  For the command, I&#039;d probably use something a little less contrived:&lt;br /&gt;
&lt;code&gt;for file in `find . -name &amp;#039;*.txt&amp;#039; -type f`; do sed -i &amp;#039;s/Search Term/Replace Term/g&amp;#039; $file; done&lt;/code&gt;&#039;&lt;br /&gt;
I usually find explicit iteration more readable.  And &lt;strong&gt;sed -i&lt;/strong&gt; edits in-place so you don&#039;t have to shuffle temp files.&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/smile.png&quot; title=&quot;Smiling&quot; alt=&quot;Smiling&quot; class=&quot;smiley-content&quot; /&gt;&lt;/p&gt;
 </description>
     <pubDate>Tue, 19 Sep 2006 14:49:04 +0000</pubDate>
 <dc:creator>Abhishek Reddy</dc:creator>
 <guid isPermaLink="false">comment 1207501 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/webmasters-corner/searchreplace-unopened-files#comment-1207497</link>
    <description> &lt;p&gt;Dreamweaver wont s/r in protected template areas, that was my problem.&lt;/p&gt;
&lt;p&gt;Textpad does s/r in unopened files??? I&#039;ll have to check that out. I used to use that as my text editor in my old job but I don&#039;t think I have it isntalled here (switched to Notepad ++ and Crimson Editor)&lt;/p&gt;
 </description>
     <pubDate>Tue, 19 Sep 2006 14:15:29 +0000</pubDate>
 <dc:creator>Megan</dc:creator>
 <guid isPermaLink="false">comment 1207497 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/webmasters-corner/searchreplace-unopened-files#comment-1207494</link>
    <description> &lt;p&gt;&lt;a href=&quot;http://www.textpad.com&quot; class=&quot;bb-url&quot;&gt;textpad?&lt;/a&gt; or dreamweaver.&lt;/p&gt;
 </description>
     <pubDate>Tue, 19 Sep 2006 14:07:31 +0000</pubDate>
 <dc:creator>andy206uk</dc:creator>
 <guid isPermaLink="false">comment 1207494 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/webmasters-corner/searchreplace-unopened-files#comment-1207487</link>
    <description> &lt;p&gt;I knew about Ultra Edit but didn&#039;t want to install it because last time it replaced my IE source viewer and once the trial version expired I couldn&#039;t get it back. Actually, I think it&#039;s still installed as my IE source viewer at home. Not that I use IE that much but sometimes if I&#039;m testing something it&#039;s nice to be able to view source!&lt;/p&gt;
&lt;p&gt;Anyway, it turns out that DW templates took care of the problem in this case so I don&#039;t think I need it right now. I did find a program called &quot;&lt;a href=&quot;http://www.divlocsoft.com/&quot; class=&quot;bb-url&quot;&gt;Actual Search &amp;amp; Replace&lt;/a&gt;&quot; which looks like it would do the job.&lt;/p&gt;
 </description>
     <pubDate>Tue, 19 Sep 2006 12:55:30 +0000</pubDate>
 <dc:creator>Megan</dc:creator>
 <guid isPermaLink="false">comment 1207487 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/webmasters-corner/searchreplace-unopened-files#comment-1207462</link>
    <description> &lt;p&gt;&lt;a href=&quot;http://www.ultraedit.com&quot; class=&quot;bb-url&quot;&gt;www.ultraedit.com&lt;/a&gt; Ultra Edit will allow you to do search/replace in file WITHOUT them being open, and for those needing it, allows regular expressions.&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;http://wtvgames.com/imghost/twf/screenshots/srif.gif&quot; alt=&quot;&quot; class=&quot;bb-image&quot; /&gt;&lt;/p&gt;
&lt;p&gt;When it runs, it gives you af full report of all files changed, as well as the location of the changes in the files.&lt;/p&gt;
&lt;p&gt;-Greg&lt;/p&gt;
 </description>
     <pubDate>Mon, 18 Sep 2006 23:56:44 +0000</pubDate>
 <dc:creator>Greg K</dc:creator>
 <guid isPermaLink="false">comment 1207462 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/webmasters-corner/searchreplace-unopened-files#comment-1207457</link>
    <description> &lt;p&gt;If you can&#039;t find anything (sorry I know of nothing), editpad will allow thousands of files to be open/edited at once. I did 1200 using the free version some years ago and worked well.&lt;/p&gt;
&lt;p&gt;just file/open, select all the files, then search replace, save all button and done&lt;/p&gt;
 </description>
     <pubDate>Mon, 18 Sep 2006 22:53:12 +0000</pubDate>
 <dc:creator>Busy</dc:creator>
 <guid isPermaLink="false">comment 1207457 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/webmasters-corner/searchreplace-unopened-files#comment-1207449</link>
    <description> &lt;p&gt;Can&#039;t think of anything without using GNU + Linux unfortunately, if you&#039;re brave enough to get &lt;a href=&quot;http://www.cygwin.com&quot; class=&quot;bb-url&quot;&gt;Cygwin&lt;/a&gt; then you could open up a terminal and type:&lt;br /&gt;
&lt;code&gt;find . -name &amp;#039;*.txt&amp;#039; -type f -print0 | sed &amp;#039;s/ /\\ /g&amp;#039; | xargs -l1 -0 -i sh -c &amp;quot;sed &amp;#039;s/Search Term/Replace Term/g&amp;#039; {} &amp;gt; {}temp &amp;amp;&amp;amp; mv {}temp {}&amp;quot;&lt;/code&gt;&#039;Changing *.txt for the file type/name you&#039;re looking for, Search Term for the bit of text in the file you&#039;re looking for and Replace Term for the bit of text you&#039;d like inserted into the text file in place of the Search Term. &lt;/p&gt;
&lt;p&gt;I expect this wouldn&#039;t really be your cup of tea, but it might help someone else in the future who needs to do a search + replace in Linux using find, sed etc. &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/smile.png&quot; title=&quot;Smiling&quot; alt=&quot;Smiling&quot; class=&quot;smiley-content&quot; /&gt;&lt;/p&gt;
 </description>
     <pubDate>Mon, 18 Sep 2006 21:37:58 +0000</pubDate>
 <dc:creator>JeevesBond</dc:creator>
 <guid isPermaLink="false">comment 1207449 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
