<?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: make tar archives muti volume...? in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/make-tar-archives-muti-volume/m-p/3131371#M75033</link>
    <description>Ah did not understand this to be a HP-UX question ... as this is linux forum... but Yes do as mark suggest if this posible for you !&lt;BR /&gt;&lt;BR /&gt;Thank, mark&lt;BR /&gt;&lt;BR /&gt;J-P</description>
    <pubDate>Mon, 01 Dec 2003 06:49:29 GMT</pubDate>
    <dc:creator>Huc_1</dc:creator>
    <dc:date>2003-12-01T06:49:29Z</dc:date>
    <item>
      <title>make tar archives muti volume...?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/make-tar-archives-muti-volume/m-p/3131364#M75026</link>
      <description>Hi all&lt;BR /&gt;I want to make tar archive file.&lt;BR /&gt;Created tar file limited specified size&lt;BR /&gt;&lt;BR /&gt;for example&lt;BR /&gt;In sub dir size is 3072MB, tar created files are 1535MB each&lt;BR /&gt;&lt;BR /&gt;How can execute that command?&lt;BR /&gt;</description>
      <pubDate>Fri, 28 Nov 2003 20:40:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/make-tar-archives-muti-volume/m-p/3131364#M75026</guid>
      <dc:creator>jackfiled</dc:creator>
      <dc:date>2003-11-28T20:40:14Z</dc:date>
    </item>
    <item>
      <title>Re: make tar archives muti volume...?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/make-tar-archives-muti-volume/m-p/3131365#M75027</link>
      <description>&lt;BR /&gt;In the gnu tar man page there is an -M qualifier this creates a multi volum tape !&lt;BR /&gt;&lt;BR /&gt;I have never tryed such a long tar file myself but always have belief this did the trick ?&lt;BR /&gt;&lt;BR /&gt;Have you tryed this ?&lt;BR /&gt;&lt;BR /&gt;J-P</description>
      <pubDate>Sat, 29 Nov 2003 02:21:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/make-tar-archives-muti-volume/m-p/3131365#M75027</guid>
      <dc:creator>Huc_1</dc:creator>
      <dc:date>2003-11-29T02:21:43Z</dc:date>
    </item>
    <item>
      <title>Re: make tar archives muti volume...?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/make-tar-archives-muti-volume/m-p/3131366#M75028</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;just curious. Is it because of limitted space on disk, that you want to split it? If not make the tar file one file and then split it using split or so.&lt;BR /&gt;&lt;BR /&gt;greetings,&lt;BR /&gt;&lt;BR /&gt;Michael&lt;BR /&gt;</description>
      <pubDate>Sat, 29 Nov 2003 05:38:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/make-tar-archives-muti-volume/m-p/3131366#M75028</guid>
      <dc:creator>Michael Schulte zur Sur</dc:creator>
      <dc:date>2003-11-29T05:38:26Z</dc:date>
    </item>
    <item>
      <title>Re: make tar archives muti volume...?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/make-tar-archives-muti-volume/m-p/3131367#M75029</link>
      <description>Hi,maybe You can give split-tar a try. It can create standalone tar's at the given size.You can find it under &lt;A href="http://www.informatik-vollmer.de/software/split-tarThomasPS:" target="_blank"&gt;http://www.informatik-vollmer.de/software/split-tarThomasPS:&lt;/A&gt; I'm not related to JÃ¼rgen Vollmer in any kind ;</description>
      <pubDate>Sun, 30 Nov 2003 03:41:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/make-tar-archives-muti-volume/m-p/3131367#M75029</guid>
      <dc:creator>Thomas Vollmer</dc:creator>
      <dc:date>2003-11-30T03:41:36Z</dc:date>
    </item>
    <item>
      <title>Re: make tar archives muti volume...?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/make-tar-archives-muti-volume/m-p/3131368#M75030</link>
      <description>-M options&lt;BR /&gt;How it applied..?&lt;BR /&gt;I can not find example.</description>
      <pubDate>Mon, 01 Dec 2003 01:01:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/make-tar-archives-muti-volume/m-p/3131368#M75030</guid>
      <dc:creator>jackfiled</dc:creator>
      <dc:date>2003-12-01T01:01:38Z</dc:date>
    </item>
    <item>
      <title>Re: make tar archives muti volume...?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/make-tar-archives-muti-volume/m-p/3131369#M75031</link>
      <description>hi,&lt;BR /&gt; &lt;BR /&gt;more complex, but does work:&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;mknod /tmp/mypipe p&lt;BR /&gt;split -b1M - /dir/mytar &amp;lt; /tmp/mypipe &amp;amp;&lt;BR /&gt;tar cvf /tmp/mypipe /dir/files&lt;BR /&gt;rm /tmp/mypipe&lt;BR /&gt; &lt;BR /&gt;to restore:&lt;BR /&gt;cat /dir/mytar* | tar xvf -&lt;BR /&gt;&lt;BR /&gt;adjust the size parameter in the split commands to your needs (set at 1MB in this example).&lt;BR /&gt; &lt;BR /&gt;regards,&lt;BR /&gt;Thierry.</description>
      <pubDate>Mon, 01 Dec 2003 02:31:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/make-tar-archives-muti-volume/m-p/3131369#M75031</guid>
      <dc:creator>Thierry Poels_1</dc:creator>
      <dc:date>2003-12-01T02:31:28Z</dc:date>
    </item>
    <item>
      <title>Re: make tar archives muti volume...?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/make-tar-archives-muti-volume/m-p/3131370#M75032</link>
      <description>Jackfiled,&lt;BR /&gt; &lt;BR /&gt;Huc is talking about GNU tar.  This tar doesn't come with HPUX.  You will need to install it first.  You can then use the "-M" option.&lt;BR /&gt; &lt;BR /&gt;You can get GNU tar here.&lt;BR /&gt; &lt;BR /&gt;&lt;A href="http://hpux.connect.org.uk/hppd/hpux/Gnu/tar-1.13.25/" target="_blank"&gt;http://hpux.connect.org.uk/hppd/hpux/Gnu/tar-1.13.25/&lt;/A&gt;</description>
      <pubDate>Mon, 01 Dec 2003 05:39:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/make-tar-archives-muti-volume/m-p/3131370#M75032</guid>
      <dc:creator>Mark Grant</dc:creator>
      <dc:date>2003-12-01T05:39:49Z</dc:date>
    </item>
    <item>
      <title>Re: make tar archives muti volume...?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/make-tar-archives-muti-volume/m-p/3131371#M75033</link>
      <description>Ah did not understand this to be a HP-UX question ... as this is linux forum... but Yes do as mark suggest if this posible for you !&lt;BR /&gt;&lt;BR /&gt;Thank, mark&lt;BR /&gt;&lt;BR /&gt;J-P</description>
      <pubDate>Mon, 01 Dec 2003 06:49:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/make-tar-archives-muti-volume/m-p/3131371#M75033</guid>
      <dc:creator>Huc_1</dc:creator>
      <dc:date>2003-12-01T06:49:29Z</dc:date>
    </item>
    <item>
      <title>Re: make tar archives muti volume...?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/make-tar-archives-muti-volume/m-p/3131372#M75034</link>
      <description>Actually Huc, I think I got it wrong :)&lt;BR /&gt; &lt;BR /&gt;This is in the linux forum but my head was in the HP-UX forum!</description>
      <pubDate>Mon, 01 Dec 2003 08:32:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/make-tar-archives-muti-volume/m-p/3131372#M75034</guid>
      <dc:creator>Mark Grant</dc:creator>
      <dc:date>2003-12-01T08:32:14Z</dc:date>
    </item>
    <item>
      <title>Re: make tar archives muti volume...?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/make-tar-archives-muti-volume/m-p/3131373#M75035</link>
      <description>thank you for your reply my problem..&lt;BR /&gt;I really appreciate that. ^^</description>
      <pubDate>Mon, 01 Dec 2003 20:09:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/make-tar-archives-muti-volume/m-p/3131373#M75035</guid>
      <dc:creator>jackfiled</dc:creator>
      <dc:date>2003-12-01T20:09:53Z</dc:date>
    </item>
    <item>
      <title>Re: make tar archives muti volume...?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/make-tar-archives-muti-volume/m-p/3131374#M75036</link>
      <description>the '-M' in GNU tar is mainly for going to media.&lt;BR /&gt;&lt;BR /&gt;i.e.  tar cvMf /dev/fd0 list/of/files&lt;BR /&gt;&lt;BR /&gt;This will automatically split across the diffent media volumes as required, prompting you to insert the next one.&lt;BR /&gt;&lt;BR /&gt;If wanting to use a fixed sized file, then you have to couple it with the '-L' flag, to say how big you want them to get.&lt;BR /&gt;&lt;BR /&gt;i.e.  tar cvMLf 3072 /path/to/out.tar path/to/files&lt;BR /&gt;&lt;BR /&gt;However, as you aren't changing 'media' between volume changes, you will probably have to create a script to pass to the '-F' flag to move the individual files into something different.&lt;BR /&gt;&lt;BR /&gt;i.e. tar cvMLFf 3072 /tmp/move.script /tmp/out.tar path/to/files&lt;BR /&gt;&lt;BR /&gt;--- /tmp/move.script ---&lt;BR /&gt;#!/bin/bash&lt;BR /&gt;VAL=1&lt;BR /&gt;until [ ! -f /tmp/out.tar.${VAL} ]&lt;BR /&gt;do&lt;BR /&gt;  VAL=$((VAL + 1))&lt;BR /&gt;done&lt;BR /&gt;mv /tmp/out.tar /tmp/out.tar.${VAL}&lt;BR /&gt;--- /tmp/move.script ---&lt;BR /&gt;&lt;BR /&gt;This will leave you to move the last file to the appropriate number of course.&lt;BR /&gt;&lt;BR /&gt;Anyway.. Some fun for you..&lt;BR /&gt;&lt;BR /&gt;Hope this helps.</description>
      <pubDate>Mon, 01 Dec 2003 21:38:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/make-tar-archives-muti-volume/m-p/3131374#M75036</guid>
      <dc:creator>Stuart Browne</dc:creator>
      <dc:date>2003-12-01T21:38:10Z</dc:date>
    </item>
  </channel>
</rss>

