<?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: rcp command in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/rcp-command/m-p/2630390#M40997</link>
    <description>Adding to Shridar's suggestion, you could use a combination of tar and rsh, i.e:&lt;BR /&gt;&lt;BR /&gt;tar cpf - &lt;DIR to="" tar=""&gt; |remsh &lt;REMOTE host=""&gt; "cd &lt;DEST dir=""&gt;|tar xvpf -"&lt;BR /&gt;&lt;BR /&gt;Hope this helps.&lt;BR /&gt;&lt;BR /&gt;-Santosh&lt;/DEST&gt;&lt;/REMOTE&gt;&lt;/DIR&gt;</description>
    <pubDate>Wed, 12 Dec 2001 16:48:29 GMT</pubDate>
    <dc:creator>Santosh Nair_1</dc:creator>
    <dc:date>2001-12-12T16:48:29Z</dc:date>
    <item>
      <title>rcp command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rcp-command/m-p/2630386#M40993</link>
      <description>If I use the rcp with the -r and -p options to copy files from one machine to another, will I also get any soft links carried over to the new machine. If not is there an option to also copy the soft links over.&lt;BR /&gt;Thanks,&lt;BR /&gt;Ron&lt;BR /&gt;</description>
      <pubDate>Wed, 12 Dec 2001 16:20:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rcp-command/m-p/2630386#M40993</guid>
      <dc:creator>Ron Bromwell</dc:creator>
      <dc:date>2001-12-12T16:20:56Z</dc:date>
    </item>
    <item>
      <title>Re: rcp command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rcp-command/m-p/2630387#M40994</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;rcp -rp will keep permissions, owner, Time stamp intact while copying over., but not guarantee about soft links&lt;BR /&gt;&lt;BR /&gt;-USA&lt;BR /&gt;</description>
      <pubDate>Wed, 12 Dec 2001 16:24:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rcp-command/m-p/2630387#M40994</guid>
      <dc:creator>Uday_S_Ankolekar</dc:creator>
      <dc:date>2001-12-12T16:24:48Z</dc:date>
    </item>
    <item>
      <title>Re: rcp command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rcp-command/m-p/2630388#M40995</link>
      <description>Ron,&lt;BR /&gt;&lt;BR /&gt;The links will be copied as files.  if you want to preserve links, you will have to use tar</description>
      <pubDate>Wed, 12 Dec 2001 16:24:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rcp-command/m-p/2630388#M40995</guid>
      <dc:creator>Jeff Machols</dc:creator>
      <dc:date>2001-12-12T16:24:49Z</dc:date>
    </item>
    <item>
      <title>Re: rcp command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rcp-command/m-p/2630389#M40996</link>
      <description>Unforunately, -r will replace the softlink with the file. So, it's better not to use -r with rcp if you have softlinks.&lt;BR /&gt;&lt;BR /&gt;One way I can think of is to tar up the files, rcp the bundle and then untar using remsh command. This will restore softlinks as well the permissions.&lt;BR /&gt;&lt;BR /&gt;-Sri</description>
      <pubDate>Wed, 12 Dec 2001 16:26:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rcp-command/m-p/2630389#M40996</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2001-12-12T16:26:25Z</dc:date>
    </item>
    <item>
      <title>Re: rcp command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rcp-command/m-p/2630390#M40997</link>
      <description>Adding to Shridar's suggestion, you could use a combination of tar and rsh, i.e:&lt;BR /&gt;&lt;BR /&gt;tar cpf - &lt;DIR to="" tar=""&gt; |remsh &lt;REMOTE host=""&gt; "cd &lt;DEST dir=""&gt;|tar xvpf -"&lt;BR /&gt;&lt;BR /&gt;Hope this helps.&lt;BR /&gt;&lt;BR /&gt;-Santosh&lt;/DEST&gt;&lt;/REMOTE&gt;&lt;/DIR&gt;</description>
      <pubDate>Wed, 12 Dec 2001 16:48:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rcp-command/m-p/2630390#M40997</guid>
      <dc:creator>Santosh Nair_1</dc:creator>
      <dc:date>2001-12-12T16:48:29Z</dc:date>
    </item>
    <item>
      <title>Re: rcp command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rcp-command/m-p/2630391#M40998</link>
      <description>cpio is the command you should use to retain links, ownership  and permissions.&lt;BR /&gt;&lt;BR /&gt;#cd dir&lt;BR /&gt;#find . -depth | cpio -ocB | remsh &lt;DESTHOST&gt; "cd &lt;DESTDIR&gt; ; cpio -imdvcB" &lt;BR /&gt;&lt;BR /&gt;Tony&lt;/DESTDIR&gt;&lt;/DESTHOST&gt;</description>
      <pubDate>Wed, 12 Dec 2001 16:53:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rcp-command/m-p/2630391#M40998</guid>
      <dc:creator>Anthony deRito</dc:creator>
      <dc:date>2001-12-12T16:53:54Z</dc:date>
    </item>
    <item>
      <title>Re: rcp command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rcp-command/m-p/2630392#M40999</link>
      <description>hi,&lt;BR /&gt;&lt;BR /&gt; Another suggestion:&lt;BR /&gt;&lt;BR /&gt;find &lt;SRC_DIR&gt; | cpio -ov | compress - | remsh &lt;RMT_MACH&gt; '(cd /;uncompress - | cpio -ivmud)'&lt;BR /&gt;&lt;BR /&gt;  &lt;BR /&gt;HTH&lt;BR /&gt;raj&lt;/RMT_MACH&gt;&lt;/SRC_DIR&gt;</description>
      <pubDate>Wed, 12 Dec 2001 17:35:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rcp-command/m-p/2630392#M40999</guid>
      <dc:creator>Roger Baptiste</dc:creator>
      <dc:date>2001-12-12T17:35:01Z</dc:date>
    </item>
    <item>
      <title>Re: rcp command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rcp-command/m-p/2630393#M41000</link>
      <description>I think rdist copy links.&lt;BR /&gt;&lt;BR /&gt;Sachin</description>
      <pubDate>Wed, 12 Dec 2001 18:48:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rcp-command/m-p/2630393#M41000</guid>
      <dc:creator>Sachin Patel</dc:creator>
      <dc:date>2001-12-12T18:48:35Z</dc:date>
    </item>
  </channel>
</rss>

