<?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 Re: diff on directories in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/diff-on-directories/m-p/2762396#M72760</link>
    <description>&lt;BR /&gt;Usually development machines do have different versions of the code, compare to what is in production, thats why you should have a "test" machine. And that's why you should have source code control and release install management.&lt;BR /&gt;&lt;BR /&gt;If your developer made this statement, then make them prove it. If someone told me that they think I have a nail in my car tires, I'm not going to take it to the garage and have every tire examined, I'd want that person to prove it to me first.&lt;BR /&gt;&lt;BR /&gt;live free or die&lt;BR /&gt;harry</description>
    <pubDate>Fri, 12 Jul 2002 12:06:41 GMT</pubDate>
    <dc:creator>harry d brown jr</dc:creator>
    <dc:date>2002-07-12T12:06:41Z</dc:date>
    <item>
      <title>diff on directories</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/diff-on-directories/m-p/2762391#M72755</link>
      <description>Our programmer says our development binaries&lt;BR /&gt;are different than our production binaries.&lt;BR /&gt;&lt;BR /&gt;I am trying to do a&lt;BR /&gt;diff -r dir1 dir2&lt;BR /&gt;I get some output, but, when it hits the binaries I get binary garbage sent to the &lt;BR /&gt;screen.&lt;BR /&gt;&lt;BR /&gt;What is the best way to compare two directories&lt;BR /&gt;recursively??&lt;BR /&gt;&lt;BR /&gt;I want to see a list of the names of the files that are different</description>
      <pubDate>Thu, 11 Jul 2002 23:16:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/diff-on-directories/m-p/2762391#M72755</guid>
      <dc:creator>David Peacock</dc:creator>
      <dc:date>2002-07-11T23:16:47Z</dc:date>
    </item>
    <item>
      <title>Re: diff on directories</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/diff-on-directories/m-p/2762392#M72756</link>
      <description>Hi~ &lt;BR /&gt;&lt;BR /&gt;It's solved from can use command "dircmp".&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;# man dircmp&lt;BR /&gt;&lt;BR /&gt;# dircmp -s dir1 dir2&lt;BR /&gt;&lt;BR /&gt;have a nice day!!&lt;BR /&gt;</description>
      <pubDate>Thu, 11 Jul 2002 23:29:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/diff-on-directories/m-p/2762392#M72756</guid>
      <dc:creator>KCS_1</dc:creator>
      <dc:date>2002-07-11T23:29:31Z</dc:date>
    </item>
    <item>
      <title>Re: diff on directories</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/diff-on-directories/m-p/2762393#M72757</link>
      <description>I would try somthing like :&lt;BR /&gt;cd dir1&lt;BR /&gt;for i in `ls -R`&lt;BR /&gt;do&lt;BR /&gt;   rv=`cmp -s $i ../dir2/$i`&lt;BR /&gt;   if [ $rv -ne 0 ]; then&lt;BR /&gt;      echo $i differs from ../dir2/$i&lt;BR /&gt;   fi&lt;BR /&gt;done&lt;BR /&gt;&lt;BR /&gt;This assumes that the two directories are in the same parent directory.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 11 Jul 2002 23:33:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/diff-on-directories/m-p/2762393#M72757</guid>
      <dc:creator>Jonathan Baker</dc:creator>
      <dc:date>2002-07-11T23:33:01Z</dc:date>
    </item>
    <item>
      <title>Re: diff on directories</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/diff-on-directories/m-p/2762394#M72758</link>
      <description>Patricks reply is much better.  My scritp doesn't work too well.  Should have tested it before posting.&lt;BR /&gt;Sorry.</description>
      <pubDate>Thu, 11 Jul 2002 23:36:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/diff-on-directories/m-p/2762394#M72758</guid>
      <dc:creator>Jonathan Baker</dc:creator>
      <dc:date>2002-07-11T23:36:26Z</dc:date>
    </item>
    <item>
      <title>Re: diff on directories</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/diff-on-directories/m-p/2762395#M72759</link>
      <description>Patrick's right.  This command is great.&lt;BR /&gt;&lt;BR /&gt;Run the "dircmp -s dir1 dir2 &amp;gt; file"&lt;BR /&gt;Then vi the file.&lt;BR /&gt;The -s supresses listings where the files are the same.&lt;BR /&gt;A -d will give diff listings for every file that's different.&lt;BR /&gt;&lt;BR /&gt;I use this to see if somebody changed code in a file buried in a directory structure. &lt;BR /&gt;&lt;BR /&gt;After I have the file, I vi it, then run:&lt;BR /&gt;:g/^$/de&lt;BR /&gt;&lt;BR /&gt;...to get rid of all the freakin empty lines.&lt;BR /&gt;&lt;BR /&gt;Steve</description>
      <pubDate>Fri, 12 Jul 2002 11:54:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/diff-on-directories/m-p/2762395#M72759</guid>
      <dc:creator>Steve Post</dc:creator>
      <dc:date>2002-07-12T11:54:35Z</dc:date>
    </item>
    <item>
      <title>Re: diff on directories</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/diff-on-directories/m-p/2762396#M72760</link>
      <description>&lt;BR /&gt;Usually development machines do have different versions of the code, compare to what is in production, thats why you should have a "test" machine. And that's why you should have source code control and release install management.&lt;BR /&gt;&lt;BR /&gt;If your developer made this statement, then make them prove it. If someone told me that they think I have a nail in my car tires, I'm not going to take it to the garage and have every tire examined, I'd want that person to prove it to me first.&lt;BR /&gt;&lt;BR /&gt;live free or die&lt;BR /&gt;harry</description>
      <pubDate>Fri, 12 Jul 2002 12:06:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/diff-on-directories/m-p/2762396#M72760</guid>
      <dc:creator>harry d brown jr</dc:creator>
      <dc:date>2002-07-12T12:06:41Z</dc:date>
    </item>
  </channel>
</rss>

