<?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 in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/cpio/m-p/2534654#M25720</link>
    <description>Hi, &lt;BR /&gt;&lt;BR /&gt;I think this is what you need to do:&lt;BR /&gt;&lt;BR /&gt;For your full backup&lt;BR /&gt;&lt;BR /&gt;find /dir1 -print | cpio -ocvB &amp;gt; /dev/rmt/0mn&lt;BR /&gt;&lt;BR /&gt;To backup files modified in the last day:&lt;BR /&gt;find /dir1 -mtime -1 | cpio -ocvB &amp;gt; /dev/rmt/0mn&lt;BR /&gt;&lt;BR /&gt;Man find for details about how to use the -mtime -days options.&lt;BR /&gt;&lt;BR /&gt;Regards, Clay&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Wed, 30 May 2001 18:01:54 GMT</pubDate>
    <dc:creator>A. Clay Stephenson</dc:creator>
    <dc:date>2001-05-30T18:01:54Z</dc:date>
    <item>
      <title>cpio</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cpio/m-p/2534653#M25719</link>
      <description>HI:&lt;BR /&gt;  Can you help me? I need a to do an incremental backup using no-rewind devices. &lt;BR /&gt;  Today I?m using the next command:&lt;BR /&gt; &lt;BR /&gt; 1.-  # &lt;DIR1&gt;ll | cpio -ocdumvB&amp;gt;/dev/rmt/0mn&lt;BR /&gt; 2.-  # &lt;DIR2&gt;ll | cpio -ocdumvB&amp;gt;/dev/rmt/0mn&lt;BR /&gt;&lt;BR /&gt;where DIR1 and DIR2 are any directory and DIR1!=DIR2.&lt;BR /&gt;&lt;BR /&gt;I'm rewinding the tape using "mt -t /dev/rmt/0mn rew" command&lt;BR /&gt;&lt;BR /&gt;I'm listing the content using "cpio -icvt&lt;/DIR2&gt;&lt;BR /&gt;Can you indicate what is wrong??&lt;BR /&gt;&lt;BR /&gt;Thanks.&lt;/DIR1&gt;</description>
      <pubDate>Wed, 30 May 2001 17:38:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cpio/m-p/2534653#M25719</guid>
      <dc:creator>Isaac Mejia</dc:creator>
      <dc:date>2001-05-30T17:38:00Z</dc:date>
    </item>
    <item>
      <title>Re: cpio</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cpio/m-p/2534654#M25720</link>
      <description>Hi, &lt;BR /&gt;&lt;BR /&gt;I think this is what you need to do:&lt;BR /&gt;&lt;BR /&gt;For your full backup&lt;BR /&gt;&lt;BR /&gt;find /dir1 -print | cpio -ocvB &amp;gt; /dev/rmt/0mn&lt;BR /&gt;&lt;BR /&gt;To backup files modified in the last day:&lt;BR /&gt;find /dir1 -mtime -1 | cpio -ocvB &amp;gt; /dev/rmt/0mn&lt;BR /&gt;&lt;BR /&gt;Man find for details about how to use the -mtime -days options.&lt;BR /&gt;&lt;BR /&gt;Regards, Clay&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 30 May 2001 18:01:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cpio/m-p/2534654#M25720</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2001-05-30T18:01:54Z</dc:date>
    </item>
    <item>
      <title>Re: cpio</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cpio/m-p/2534655#M25721</link>
      <description>cpio -ocdumvB&amp;gt;/dev/rmt/0mn # WRITE&lt;BR /&gt;&lt;BR /&gt;# mt -t /dev/rmt/0mn rew&lt;BR /&gt;#cpio -itvcB &amp;lt; /dev/rmt/0mn # list&lt;BR /&gt;#cpio -itvcB &amp;lt; /dev/rmt/0mn # list&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 31 May 2001 07:30:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cpio/m-p/2534655#M25721</guid>
      <dc:creator>Carlos Fernandez Riera</dc:creator>
      <dc:date>2001-05-31T07:30:30Z</dc:date>
    </item>
    <item>
      <title>Re: cpio</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cpio/m-p/2534656#M25722</link>
      <description>I will extend the answer of Carlos:&lt;BR /&gt;find /DIR1 /DIR2 -print | cpio -oBcv &amp;gt; /dev/rmt/0mn&lt;BR /&gt;&lt;BR /&gt;  In this case on the tape will exists only one CPIO file (DIR1 and DIR2 inside) and the test will be:&lt;BR /&gt;cpio -iBt &amp;lt; /dev/rmt/0m&lt;BR /&gt;&lt;BR /&gt;Plamen</description>
      <pubDate>Thu, 31 May 2001 08:17:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cpio/m-p/2534656#M25722</guid>
      <dc:creator>Plamen SIMEONOV</dc:creator>
      <dc:date>2001-05-31T08:17:27Z</dc:date>
    </item>
  </channel>
</rss>

