<?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: how to use cpio to transfer files from one server to another in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-use-cpio-to-transfer-files-from-one-server-to-another/m-p/3312194#M881925</link>
    <description>The /otherdir is on another server.  How do I go about doing that.  I do not want to create an archive file then ftp that archive file over.  I would like this all done in one line.  Any suggestions.</description>
    <pubDate>Tue, 22 Jun 2004 12:46:02 GMT</pubDate>
    <dc:creator>Shawn Miller_2</dc:creator>
    <dc:date>2004-06-22T12:46:02Z</dc:date>
    <item>
      <title>how to use cpio to transfer files from one server to another</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-use-cpio-to-transfer-files-from-one-server-to-another/m-p/3312192#M881923</link>
      <description>What is the syntax and commands that I need to cpio a whole directory with all its files to another server.  I will be coping large files and links.  The links need to be copied as links.</description>
      <pubDate>Tue, 22 Jun 2004 12:39:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-use-cpio-to-transfer-files-from-one-server-to-another/m-p/3312192#M881923</guid>
      <dc:creator>Shawn Miller_2</dc:creator>
      <dc:date>2004-06-22T12:39:30Z</dc:date>
    </item>
    <item>
      <title>Re: how to use cpio to transfer files from one server to another</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-use-cpio-to-transfer-files-from-one-server-to-another/m-p/3312193#M881924</link>
      <description>cd /nfs/servername/dirname&lt;BR /&gt;find . -print |cpio -pdumxl /otherdir&lt;BR /&gt;&lt;BR /&gt;That's my method, anyway.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Tue, 22 Jun 2004 12:41:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-use-cpio-to-transfer-files-from-one-server-to-another/m-p/3312193#M881924</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2004-06-22T12:41:32Z</dc:date>
    </item>
    <item>
      <title>Re: how to use cpio to transfer files from one server to another</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-use-cpio-to-transfer-files-from-one-server-to-another/m-p/3312194#M881925</link>
      <description>The /otherdir is on another server.  How do I go about doing that.  I do not want to create an archive file then ftp that archive file over.  I would like this all done in one line.  Any suggestions.</description>
      <pubDate>Tue, 22 Jun 2004 12:46:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-use-cpio-to-transfer-files-from-one-server-to-another/m-p/3312194#M881925</guid>
      <dc:creator>Shawn Miller_2</dc:creator>
      <dc:date>2004-06-22T12:46:02Z</dc:date>
    </item>
    <item>
      <title>Re: how to use cpio to transfer files from one server to another</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-use-cpio-to-transfer-files-from-one-server-to-another/m-p/3312195#M881926</link>
      <description>Shawn,&lt;BR /&gt;&lt;BR /&gt;That's where NFS comes in.  I'm starting from the target server when I do my "cd /nfs/otherserver/dirname".  If you're not using NFS, then the technique would obviously need to be different.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Tue, 22 Jun 2004 12:49:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-use-cpio-to-transfer-files-from-one-server-to-another/m-p/3312195#M881926</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2004-06-22T12:49:10Z</dc:date>
    </item>
    <item>
      <title>Re: how to use cpio to transfer files from one server to another</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-use-cpio-to-transfer-files-from-one-server-to-another/m-p/3312196#M881927</link>
      <description>Sorry man, CPIO doesnt natively understand network tranfers. You'll have to archive and then it ftp over.&lt;BR /&gt;&lt;BR /&gt;Try this syntax&lt;BR /&gt;# find . -print | cpio -pdmuv &amp;gt; /tmp/myarchive.cpio&lt;BR /&gt;&lt;BR /&gt;Test it out, but this syntax should keep the ownerships and permissions intact.&lt;BR /&gt;&lt;BR /&gt;Good luck</description>
      <pubDate>Tue, 22 Jun 2004 12:50:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-use-cpio-to-transfer-files-from-one-server-to-another/m-p/3312196#M881927</guid>
      <dc:creator>Richard Pereira_1</dc:creator>
      <dc:date>2004-06-22T12:50:01Z</dc:date>
    </item>
    <item>
      <title>Re: how to use cpio to transfer files from one server to another</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-use-cpio-to-transfer-files-from-one-server-to-another/m-p/3312197#M881928</link>
      <description>&lt;P&gt;a link to where this has been answered before&lt;BR /&gt;&lt;BR /&gt;&lt;EM&gt;[Broken link removed on &amp;lt;4/18/2017&amp;gt; by Mod] &lt;/EM&gt;&lt;BR /&gt;&lt;BR /&gt;On machine A&lt;BR /&gt;=============&lt;BR /&gt;# cd /data2&lt;BR /&gt;# (find . -xdev|cpio -coax) | remsh machineB "cd /data2;cpio -icdmula"&lt;BR /&gt;&lt;BR /&gt;and you can use tar in a similar way&lt;/P&gt;</description>
      <pubDate>Tue, 18 Apr 2017 07:47:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-use-cpio-to-transfer-files-from-one-server-to-another/m-p/3312197#M881928</guid>
      <dc:creator>curt larson_1</dc:creator>
      <dc:date>2017-04-18T07:47:39Z</dc:date>
    </item>
    <item>
      <title>Re: how to use cpio to transfer files from one server to another</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-use-cpio-to-transfer-files-from-one-server-to-another/m-p/3312198#M881929</link>
      <description>I have done this in the distant past and forgot how I did it.  But with in the same line using pipes I created the archive then used something like rcp to copy and then unarchived it into the destination directory.  That way I do not need to find space on the current system for the archive file that then needs to be ftp or rcp over.  Does anyone have an idea on how that is done.</description>
      <pubDate>Tue, 22 Jun 2004 12:58:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-use-cpio-to-transfer-files-from-one-server-to-another/m-p/3312198#M881929</guid>
      <dc:creator>Shawn Miller_2</dc:creator>
      <dc:date>2004-06-22T12:58:02Z</dc:date>
    </item>
    <item>
      <title>Re: how to use cpio to transfer files from one server to another</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-use-cpio-to-transfer-files-from-one-server-to-another/m-p/3312199#M881930</link>
      <description>Shawn,&lt;BR /&gt;&lt;BR /&gt;It looks like Curt's solution should do the job for you.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Tue, 22 Jun 2004 13:02:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-use-cpio-to-transfer-files-from-one-server-to-another/m-p/3312199#M881930</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2004-06-22T13:02:37Z</dc:date>
    </item>
    <item>
      <title>Re: how to use cpio to transfer files from one server to another</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-use-cpio-to-transfer-files-from-one-server-to-another/m-p/3312200#M881931</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;# cd /source&lt;BR /&gt;# find . | cpio -ov | remsh server_name " cd /copy ; cpio -idvum "&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Robert-Jan</description>
      <pubDate>Tue, 22 Jun 2004 13:03:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-use-cpio-to-transfer-files-from-one-server-to-another/m-p/3312200#M881931</guid>
      <dc:creator>Robert-Jan Goossens</dc:creator>
      <dc:date>2004-06-22T13:03:48Z</dc:date>
    </item>
    <item>
      <title>Re: how to use cpio to transfer files from one server to another</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-use-cpio-to-transfer-files-from-one-server-to-another/m-p/3312201#M881932</link>
      <description>Thanks everyone.  Here is what I ended up using.&lt;BR /&gt;&lt;BR /&gt;(find . -xdev|cpio -coa) | remsh serverB "cd /p01; cpio -icdmul"&lt;BR /&gt;&lt;BR /&gt;The -a and -m were exclusive and it was important to have it on for the first cpio and to have the -m for the second.</description>
      <pubDate>Tue, 22 Jun 2004 13:13:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-use-cpio-to-transfer-files-from-one-server-to-another/m-p/3312201#M881932</guid>
      <dc:creator>Shawn Miller_2</dc:creator>
      <dc:date>2004-06-22T13:13:29Z</dc:date>
    </item>
  </channel>
</rss>

