<?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: cpio command in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/cpio-command/m-p/2479836#M654563</link>
    <description>Hi Bassey,&lt;BR /&gt;&lt;BR /&gt;cd &lt;SOURCE-DIR&gt;&lt;BR /&gt;find . -xdev -print | cpio -pdvum &lt;DEST-DIR&gt;&lt;BR /&gt;&lt;BR /&gt;If you want a whole filesystem to be copied, &lt;SOURCE-DIR&gt; is its mount point, &lt;DEST-DIR&gt; is the mount point of the new filesystem.&lt;BR /&gt;&lt;BR /&gt;The -xdev flag will prevent find from crossing filesystem boundaries so that you could find files under / but not files under /usr, /tmp,  /var, etc...&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;&lt;BR /&gt;Dan&lt;BR /&gt;&lt;BR /&gt;&lt;/DEST-DIR&gt;&lt;/SOURCE-DIR&gt;&lt;/DEST-DIR&gt;&lt;/SOURCE-DIR&gt;</description>
    <pubDate>Sat, 06 Jan 2001 15:24:29 GMT</pubDate>
    <dc:creator>Dan Hetzel</dc:creator>
    <dc:date>2001-01-06T15:24:29Z</dc:date>
    <item>
      <title>cpio command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cpio-command/m-p/2479833#M654560</link>
      <description>does any know the simplest way of copying data&lt;BR /&gt;from old disk to new disk using cpio command. what options will facilitates copying entire directory tree from old PV to new VG.&lt;BR /&gt;Iam not acquainted with cpio, but i think this is what i need in other to move datas from the old PV to the new volume groups.&lt;BR /&gt;Thanks.</description>
      <pubDate>Fri, 05 Jan 2001 15:25:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cpio-command/m-p/2479833#M654560</guid>
      <dc:creator>bassey essien_1</dc:creator>
      <dc:date>2001-01-05T15:25:45Z</dc:date>
    </item>
    <item>
      <title>Re: cpio command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cpio-command/m-p/2479834#M654561</link>
      <description>Bassey, &lt;BR /&gt;I would think you would want to use -odmv, and the syntax would be:&lt;BR /&gt; find . -depth -print | cpio -odmv &amp;gt; newdisk&lt;BR /&gt;&lt;BR /&gt;the o means output, d means create directories as needed, m means retain mod time, and v is verbose.&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;Mo</description>
      <pubDate>Fri, 05 Jan 2001 23:19:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cpio-command/m-p/2479834#M654561</guid>
      <dc:creator>Maureen Gunkel</dc:creator>
      <dc:date>2001-01-05T23:19:01Z</dc:date>
    </item>
    <item>
      <title>Re: cpio command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cpio-command/m-p/2479835#M654562</link>
      <description>Bassey, &lt;BR /&gt;I would think you would want to use -pdmv, and the syntax would be:&lt;BR /&gt; find . -depth -print | cpio -pdmv newdisk&lt;BR /&gt;&lt;BR /&gt;the p means passthrough, d means create directories as needed, m means retain mod time, and v is verbose.&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;Mo</description>
      <pubDate>Fri, 05 Jan 2001 23:33:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cpio-command/m-p/2479835#M654562</guid>
      <dc:creator>Maureen Gunkel</dc:creator>
      <dc:date>2001-01-05T23:33:25Z</dc:date>
    </item>
    <item>
      <title>Re: cpio command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cpio-command/m-p/2479836#M654563</link>
      <description>Hi Bassey,&lt;BR /&gt;&lt;BR /&gt;cd &lt;SOURCE-DIR&gt;&lt;BR /&gt;find . -xdev -print | cpio -pdvum &lt;DEST-DIR&gt;&lt;BR /&gt;&lt;BR /&gt;If you want a whole filesystem to be copied, &lt;SOURCE-DIR&gt; is its mount point, &lt;DEST-DIR&gt; is the mount point of the new filesystem.&lt;BR /&gt;&lt;BR /&gt;The -xdev flag will prevent find from crossing filesystem boundaries so that you could find files under / but not files under /usr, /tmp,  /var, etc...&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;&lt;BR /&gt;Dan&lt;BR /&gt;&lt;BR /&gt;&lt;/DEST-DIR&gt;&lt;/SOURCE-DIR&gt;&lt;/DEST-DIR&gt;&lt;/SOURCE-DIR&gt;</description>
      <pubDate>Sat, 06 Jan 2001 15:24:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cpio-command/m-p/2479836#M654563</guid>
      <dc:creator>Dan Hetzel</dc:creator>
      <dc:date>2001-01-06T15:24:29Z</dc:date>
    </item>
    <item>
      <title>Re: cpio command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cpio-command/m-p/2479837#M654564</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Copy over the entire original stand directory to the /stand.tmp(new mount point)&lt;BR /&gt;directory.&lt;BR /&gt;# cd /stand&lt;BR /&gt;# find . -xdev -depth -print | cpio -pxdumv /stand.tmp&lt;BR /&gt;&lt;BR /&gt;Good Luck&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sat, 06 Jan 2001 19:39:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cpio-command/m-p/2479837#M654564</guid>
      <dc:creator>Darrel Louis</dc:creator>
      <dc:date>2001-01-06T19:39:57Z</dc:date>
    </item>
  </channel>
</rss>

