<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <title>Comments on snippet: 'Replace string in multiple files'</title>
    <description>Snipplr comments feed</description>
    <link>https://snipplr.com/</link>
    <lastBuildDate>Sat, 11 Apr 2026 13:59:11 +0000</lastBuildDate>
    <item>
      <title>jkramer said on 30/Jan/2008</title>
      <link>https://snipplr.com/view/4741/replace-string-in-multiple-files</link>
      <description>&lt;p&gt;&lt;p&gt;Short:
    find . -iname "&lt;em&gt;.suffix" -exec sed -i -e 's#old#new#gi' {} \;
Even shorter (ZSH):
    sed -i -e 's#old#new#gi' *&lt;/em&gt;/*.suffix&lt;/p&gt;
&lt;/p&gt;</description>
      <pubDate>Wed, 30 Jan 2008 08:02:40 UTC</pubDate>
      <guid>https://snipplr.com/view/4741/replace-string-in-multiple-files</guid>
    </item>
    <item>
      <title>jkramer said on 30/Jan/2008</title>
      <link>https://snipplr.com/view/4741/replace-string-in-multiple-files</link>
      <description>&lt;p&gt;&lt;p&gt;That's ** (two asterisks), I don't get the format of this comment thing here.&lt;/p&gt;
&lt;/p&gt;</description>
      <pubDate>Wed, 30 Jan 2008 08:03:31 UTC</pubDate>
      <guid>https://snipplr.com/view/4741/replace-string-in-multiple-files</guid>
    </item>
  </channel>
</rss>
