<?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: Files compare in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/files-compare/m-p/2908662#M933477</link>
    <description>Exist any way, to do the diff with remsh on one line, ie:&lt;BR /&gt;remsh hosts2 -n ls -d /dir2 | diff /Dir1 -&lt;BR /&gt;&lt;BR /&gt;Some like this?</description>
    <pubDate>Wed, 19 Feb 2003 22:36:55 GMT</pubDate>
    <dc:creator>GerGon</dc:creator>
    <dc:date>2003-02-19T22:36:55Z</dc:date>
    <item>
      <title>Files compare</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/files-compare/m-p/2908658#M933473</link>
      <description>To: Gurus&lt;BR /&gt;Subject: Please giveme a trick&lt;BR /&gt;I need to compare the files in two diferent directories on remote machines?&lt;BR /&gt;Which commands do that?&lt;BR /&gt;Before I use ls and find -not etc, but in HPux not work yet.&lt;BR /&gt;&lt;BR /&gt;I need compare the files in the two directories and print the files that aren't in the second directory?&lt;BR /&gt;i.e.&lt;BR /&gt;Machine 1     Machine 2&lt;BR /&gt;DirectoryA    DirectoryB&lt;BR /&gt;File1         File1&lt;BR /&gt;File2         File2&lt;BR /&gt;File3&lt;BR /&gt;&lt;BR /&gt;I want to print la diference, like File3, because it isn't on machine 2..&lt;BR /&gt;</description>
      <pubDate>Wed, 19 Feb 2003 22:14:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/files-compare/m-p/2908658#M933473</guid>
      <dc:creator>GerGon</dc:creator>
      <dc:date>2003-02-19T22:14:22Z</dc:date>
    </item>
    <item>
      <title>Re: Files compare</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/files-compare/m-p/2908659#M933474</link>
      <description>The easiest thing I can think of is to do an &lt;BR /&gt;&lt;BR /&gt;# ls -1 | sort &amp;gt; machine1.file&lt;BR /&gt; on machine 1&lt;BR /&gt;&lt;BR /&gt;# ls -1 | sort &amp;gt; machine2.file&lt;BR /&gt; on machine 2&lt;BR /&gt;&lt;BR /&gt;Now copy the files to a directory on either machine 1 or machine 2 and then do&lt;BR /&gt;&lt;BR /&gt;# diff machine1.file machine2.file &lt;BR /&gt;&lt;BR /&gt;and see what your results are.</description>
      <pubDate>Wed, 19 Feb 2003 22:20:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/files-compare/m-p/2908659#M933474</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2003-02-19T22:20:14Z</dc:date>
    </item>
    <item>
      <title>Re: Files compare</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/files-compare/m-p/2908660#M933475</link>
      <description>#diff file1 file2</description>
      <pubDate>Wed, 19 Feb 2003 22:26:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/files-compare/m-p/2908660#M933475</guid>
      <dc:creator>Paul Sperry</dc:creator>
      <dc:date>2003-02-19T22:26:05Z</dc:date>
    </item>
    <item>
      <title>Re: Files compare</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/files-compare/m-p/2908661#M933476</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;'diff' will compare directories or files.  Do:&lt;BR /&gt;&lt;BR /&gt;# diff dir1 dir2&lt;BR /&gt;&lt;BR /&gt;See the man pages for more information.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Wed, 19 Feb 2003 22:32:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/files-compare/m-p/2908661#M933476</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2003-02-19T22:32:13Z</dc:date>
    </item>
    <item>
      <title>Re: Files compare</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/files-compare/m-p/2908662#M933477</link>
      <description>Exist any way, to do the diff with remsh on one line, ie:&lt;BR /&gt;remsh hosts2 -n ls -d /dir2 | diff /Dir1 -&lt;BR /&gt;&lt;BR /&gt;Some like this?</description>
      <pubDate>Wed, 19 Feb 2003 22:36:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/files-compare/m-p/2908662#M933477</guid>
      <dc:creator>GerGon</dc:creator>
      <dc:date>2003-02-19T22:36:55Z</dc:date>
    </item>
    <item>
      <title>Re: Files compare</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/files-compare/m-p/2908663#M933478</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I assume that you have remsh access to both the systems. If so, use this small script.&lt;BR /&gt;&lt;BR /&gt;if [ $# -ne 2 ]                                &lt;BR /&gt;then                                           &lt;BR /&gt;echo Usage $0: host1:dir1 host2:dir2           &lt;BR /&gt;exit                                           &lt;BR /&gt;fi                                             &lt;BR /&gt;                                               &lt;BR /&gt;HOST1=$(echo $1|awk '{FS=":";print $1}')       &lt;BR /&gt;DIR1=$(echo $1|awk '{FS=":";print $2}')        &lt;BR /&gt;HOST2=$(echo $2|awk '{FS=":";print $1}')       &lt;BR /&gt;DIR2=$(echo $2|awk '{FS=":";print $2}')        &lt;BR /&gt;                                               &lt;BR /&gt;echo $HOST1 $HOST2 $DIR1 $DIR2                 &lt;BR /&gt;                                               &lt;BR /&gt;remsh $HOST1 -n "find $DIR1" |sort &amp;gt;&amp;gt; list1$$  &lt;BR /&gt;remsh $HOST2 -n "find $DIR2" |sort  &amp;gt;&amp;gt; list2$$ &lt;BR /&gt;clear                                          &lt;BR /&gt;echo Files on $HOST1 but not on $HOST2 &amp;gt; log   &lt;BR /&gt;                                               &lt;BR /&gt;comm -23 list1$$ list2$$ &amp;gt;&amp;gt; log                &lt;BR /&gt;                                               &lt;BR /&gt;rm list*    &lt;BR /&gt;&lt;BR /&gt;-Sri</description>
      <pubDate>Wed, 19 Feb 2003 22:45:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/files-compare/m-p/2908663#M933478</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2003-02-19T22:45:31Z</dc:date>
    </item>
    <item>
      <title>Re: Files compare</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/files-compare/m-p/2908664#M933479</link>
      <description>Hi (Again),&lt;BR /&gt;&lt;BR /&gt;BTW, above orthodox script produces the result in an output file called log in the current directory.&lt;BR /&gt;It prints everything including the subdirectories and the files in them. If you don't want it, change the "find" command inside remsh to "ls -ald" or whatever you want.&lt;BR /&gt;&lt;BR /&gt;-Sri</description>
      <pubDate>Wed, 19 Feb 2003 22:48:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/files-compare/m-p/2908664#M933479</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2003-02-19T22:48:09Z</dc:date>
    </item>
    <item>
      <title>Re: Files compare</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/files-compare/m-p/2908665#M933480</link>
      <description>dircmp does that, for more info: man dircmp</description>
      <pubDate>Thu, 20 Feb 2003 12:57:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/files-compare/m-p/2908665#M933480</guid>
      <dc:creator>Christian Tremblay</dc:creator>
      <dc:date>2003-02-20T12:57:30Z</dc:date>
    </item>
    <item>
      <title>Re: Files compare</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/files-compare/m-p/2908666#M933481</link>
      <description>Oky, Thanks to all..</description>
      <pubDate>Mon, 24 Feb 2003 16:54:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/files-compare/m-p/2908666#M933481</guid>
      <dc:creator>GerGon</dc:creator>
      <dc:date>2003-02-24T16:54:42Z</dc:date>
    </item>
    <item>
      <title>Re: Files compare</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/files-compare/m-p/2908667#M933482</link>
      <description># dircmp -s Dir1 Dir2(directory compare)&lt;BR /&gt;# diff file1 file2(file compare)&lt;BR /&gt;&lt;BR /&gt;that's ok!!</description>
      <pubDate>Tue, 25 Feb 2003 01:13:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/files-compare/m-p/2908667#M933482</guid>
      <dc:creator>KCS_1</dc:creator>
      <dc:date>2003-02-25T01:13:39Z</dc:date>
    </item>
  </channel>
</rss>

