<?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: Using ssh with diff in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/using-ssh-with-diff/m-p/3763467#M101863</link>
    <description>Rodney,&lt;BR /&gt;&lt;BR /&gt;Maybe we can skip the critical opinions in the future?  I didn't post the whole script because there wasn't a need to.  I'm using rsync with ssh to pull files from a dmz server.  rsync does not handle partial files well and there's a real potential with that in this case.&lt;BR /&gt;&lt;BR /&gt;Thanks again.</description>
    <pubDate>Fri, 31 Mar 2006 15:24:10 GMT</pubDate>
    <dc:creator>erics_1</dc:creator>
    <dc:date>2006-03-31T15:24:10Z</dc:date>
    <item>
      <title>Using ssh with diff</title>
      <link>https://community.hpe.com/t5/operating-system-linux/using-ssh-with-diff/m-p/3763464#M101860</link>
      <description>All,&lt;BR /&gt;&lt;BR /&gt;I have existing scripts on a sco system here that  pull and push files to a dmz'd ftp server.  I'm moving the scripts to an hp 11.11 box and have syntax problems with one of the lines:&lt;BR /&gt;&lt;BR /&gt;`diff -b &amp;lt;(ssh dmz_host ls -l /path/to/user/from) &amp;lt;(ls -l /path/to/user/outgoing)&amp;gt;/dev/null`&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;This command compares the the output of listing both the remote dir. and local dir.  I've tried various combinations but can get nothing to work.  What am I missing?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Eric</description>
      <pubDate>Fri, 31 Mar 2006 14:49:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/using-ssh-with-diff/m-p/3763464#M101860</guid>
      <dc:creator>erics_1</dc:creator>
      <dc:date>2006-03-31T14:49:39Z</dc:date>
    </item>
    <item>
      <title>Re: Using ssh with diff</title>
      <link>https://community.hpe.com/t5/operating-system-linux/using-ssh-with-diff/m-p/3763465#M101861</link>
      <description>Not to be unkind, but that command is so wrong at so many levels.&lt;BR /&gt; &lt;BR /&gt;Usually I would copy the listings locally, then do the diff. Example-&lt;BR /&gt; &lt;BR /&gt;ssh dms_host ls -l /path/to/user/from &amp;gt;/tmp/temp1&lt;BR /&gt;ls -l1 /path/to/user/outgoing &amp;gt;/tmp/temp2&lt;BR /&gt;diff -b /tmp/temp1 /tmp/temp2&lt;BR /&gt; &lt;BR /&gt;HTH&lt;BR /&gt; &lt;BR /&gt;-- Rod Hills</description>
      <pubDate>Fri, 31 Mar 2006 14:57:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/using-ssh-with-diff/m-p/3763465#M101861</guid>
      <dc:creator>Rodney Hills</dc:creator>
      <dc:date>2006-03-31T14:57:07Z</dc:date>
    </item>
    <item>
      <title>Re: Using ssh with diff</title>
      <link>https://community.hpe.com/t5/operating-system-linux/using-ssh-with-diff/m-p/3763466#M101862</link>
      <description>A better tool for keeping/checking that two file structures are in sync is called "rsync". It can work with "ssh" and it has many nice features.&lt;BR /&gt; &lt;BR /&gt;Here is the link to the software porting and archive center-&lt;BR /&gt;&lt;A href="http://hpux.cs.utah.edu/hppd/hpux/Networking/Admin/rsync-2.6.4/" target="_blank"&gt;http://hpux.cs.utah.edu/hppd/hpux/Networking/Admin/rsync-2.6.4/&lt;/A&gt;&lt;BR /&gt; &lt;BR /&gt;HTH&lt;BR /&gt; &lt;BR /&gt;-- Rod Hills</description>
      <pubDate>Fri, 31 Mar 2006 15:13:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/using-ssh-with-diff/m-p/3763466#M101862</guid>
      <dc:creator>Rodney Hills</dc:creator>
      <dc:date>2006-03-31T15:13:33Z</dc:date>
    </item>
    <item>
      <title>Re: Using ssh with diff</title>
      <link>https://community.hpe.com/t5/operating-system-linux/using-ssh-with-diff/m-p/3763467#M101863</link>
      <description>Rodney,&lt;BR /&gt;&lt;BR /&gt;Maybe we can skip the critical opinions in the future?  I didn't post the whole script because there wasn't a need to.  I'm using rsync with ssh to pull files from a dmz server.  rsync does not handle partial files well and there's a real potential with that in this case.&lt;BR /&gt;&lt;BR /&gt;Thanks again.</description>
      <pubDate>Fri, 31 Mar 2006 15:24:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/using-ssh-with-diff/m-p/3763467#M101863</guid>
      <dc:creator>erics_1</dc:creator>
      <dc:date>2006-03-31T15:24:10Z</dc:date>
    </item>
    <item>
      <title>Re: Using ssh with diff</title>
      <link>https://community.hpe.com/t5/operating-system-linux/using-ssh-with-diff/m-p/3763468#M101864</link>
      <description>Just wondering, what shell is this being run under?&lt;BR /&gt;&lt;BR /&gt;It certainly is a novel way to use &amp;lt;() handles :)  But I wasn't aware that it existed in shells other than 'bash'.</description>
      <pubDate>Sat, 01 Apr 2006 17:28:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/using-ssh-with-diff/m-p/3763468#M101864</guid>
      <dc:creator>Stuart Browne</dc:creator>
      <dc:date>2006-04-01T17:28:06Z</dc:date>
    </item>
    <item>
      <title>Re: Using ssh with diff</title>
      <link>https://community.hpe.com/t5/operating-system-linux/using-ssh-with-diff/m-p/3763469#M101865</link>
      <description>Eric,&lt;BR /&gt;The &amp;lt;() syntax you're using is for the bash shell - see &lt;A href="http://www.gnu.org/software/bash/manual/bashref.html#SEC32" target="_blank"&gt;http://www.gnu.org/software/bash/manual/bashref.html#SEC32&lt;/A&gt; for what this syntax means.&lt;BR /&gt;&lt;BR /&gt;Rather than trying to fix the syntax, you could just get bash for HP-UX, at any of the following locations:&lt;BR /&gt;&lt;BR /&gt;-&amp;gt; (11i v1 only) Linux Porting Kit - &lt;A href="http://h20293.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=B9891AA" target="_blank"&gt;http://h20293.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=B9891AA&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;-&amp;gt; (11i v2 only) Internet Express - &lt;A href="http://h20293.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=HPUXIEXP1123" target="_blank"&gt;http://h20293.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=HPUXIEXP1123&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;-&amp;gt; (all versions 11i) HP-UX Porting Archive - &lt;A href="http://hpux.connect.org.uk/hppd/hpux/Shells/bash-3.00.16/" target="_blank"&gt;http://hpux.connect.org.uk/hppd/hpux/Shells/bash-3.00.16/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Good luck!</description>
      <pubDate>Sun, 02 Apr 2006 06:06:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/using-ssh-with-diff/m-p/3763469#M101865</guid>
      <dc:creator>Greg Vaidman</dc:creator>
      <dc:date>2006-04-02T06:06:44Z</dc:date>
    </item>
  </channel>
</rss>

