<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Changing text in all files in a dir in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/changing-text-in-all-files-in-a-dir/m-p/5099897#M90837</link>
    <description>Hello &lt;BR /&gt;&lt;BR /&gt;I need to change this "$LOG" to "/path/path/path"  in all files in dir full of ascii files. Any tips? &lt;BR /&gt;&lt;BR /&gt;Thanks</description>
    <pubDate>Wed, 26 Mar 2008 16:46:14 GMT</pubDate>
    <dc:creator>P-Dicky</dc:creator>
    <dc:date>2008-03-26T16:46:14Z</dc:date>
    <item>
      <title>Changing text in all files in a dir</title>
      <link>https://community.hpe.com/t5/operating-system-linux/changing-text-in-all-files-in-a-dir/m-p/5099897#M90837</link>
      <description>Hello &lt;BR /&gt;&lt;BR /&gt;I need to change this "$LOG" to "/path/path/path"  in all files in dir full of ascii files. Any tips? &lt;BR /&gt;&lt;BR /&gt;Thanks</description>
      <pubDate>Wed, 26 Mar 2008 16:46:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/changing-text-in-all-files-in-a-dir/m-p/5099897#M90837</guid>
      <dc:creator>P-Dicky</dc:creator>
      <dc:date>2008-03-26T16:46:14Z</dc:date>
    </item>
    <item>
      <title>Re: Changing text in all files in a dir</title>
      <link>https://community.hpe.com/t5/operating-system-linux/changing-text-in-all-files-in-a-dir/m-p/5099898#M90838</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;A rapid way is:&lt;BR /&gt;&lt;BR /&gt;# cd /path &amp;amp;&amp;amp; find . -xdev -type f -exec perl -pi -e 's{\$LOG}{/path/path/path}g' {} +&lt;BR /&gt;&lt;BR /&gt;This will update the files "inplace".&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Wed, 26 Mar 2008 17:17:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/changing-text-in-all-files-in-a-dir/m-p/5099898#M90838</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2008-03-26T17:17:23Z</dc:date>
    </item>
    <item>
      <title>Re: Changing text in all files in a dir</title>
      <link>https://community.hpe.com/t5/operating-system-linux/changing-text-in-all-files-in-a-dir/m-p/5099899#M90839</link>
      <description>Perfect! &lt;BR /&gt;&lt;BR /&gt;Thank you James</description>
      <pubDate>Wed, 26 Mar 2008 17:43:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/changing-text-in-all-files-in-a-dir/m-p/5099899#M90839</guid>
      <dc:creator>P-Dicky</dc:creator>
      <dc:date>2008-03-26T17:43:14Z</dc:date>
    </item>
  </channel>
</rss>

