<?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: Split files using tar in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/split-files-using-tar/m-p/3204106#M167181</link>
    <description>Nope but you could use "split"</description>
    <pubDate>Fri, 27 Feb 2004 04:43:24 GMT</pubDate>
    <dc:creator>Mark Grant</dc:creator>
    <dc:date>2004-02-27T04:43:24Z</dc:date>
    <item>
      <title>Split files using tar</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/split-files-using-tar/m-p/3204105#M167180</link>
      <description>Is there a way to split a larger file into multiple chunks using tar??&lt;BR /&gt;&lt;BR /&gt;-Karthik S S</description>
      <pubDate>Fri, 27 Feb 2004 04:36:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/split-files-using-tar/m-p/3204105#M167180</guid>
      <dc:creator>Karthik S S</dc:creator>
      <dc:date>2004-02-27T04:36:01Z</dc:date>
    </item>
    <item>
      <title>Re: Split files using tar</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/split-files-using-tar/m-p/3204106#M167181</link>
      <description>Nope but you could use "split"</description>
      <pubDate>Fri, 27 Feb 2004 04:43:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/split-files-using-tar/m-p/3204106#M167181</guid>
      <dc:creator>Mark Grant</dc:creator>
      <dc:date>2004-02-27T04:43:24Z</dc:date>
    </item>
    <item>
      <title>Re: Split files using tar</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/split-files-using-tar/m-p/3204107#M167182</link>
      <description>Hi Karthik,&lt;BR /&gt;&lt;BR /&gt;Or "csplit"&lt;BR /&gt;&lt;BR /&gt;Jeff</description>
      <pubDate>Fri, 27 Feb 2004 04:44:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/split-files-using-tar/m-p/3204107#M167182</guid>
      <dc:creator>Jeff Schussele</dc:creator>
      <dc:date>2004-02-27T04:44:57Z</dc:date>
    </item>
    <item>
      <title>Re: Split files using tar</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/split-files-using-tar/m-p/3204108#M167183</link>
      <description>I have not come across.&lt;BR /&gt;&lt;BR /&gt;tar xvf then split.&lt;BR /&gt;&lt;BR /&gt;sks</description>
      <pubDate>Fri, 27 Feb 2004 04:45:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/split-files-using-tar/m-p/3204108#M167183</guid>
      <dc:creator>Sanjay Kumar Suri</dc:creator>
      <dc:date>2004-02-27T04:45:04Z</dc:date>
    </item>
    <item>
      <title>Re: Split files using tar</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/split-files-using-tar/m-p/3204109#M167184</link>
      <description>GNU tar can do it, but the HP-UX version doesn't. You could use the split command in combination with tar. Or, a rather dirty solution, create a small lvol, the size you want the tar files to be, and tar to that lvol. When it is full, it will request a new 'tape', copy your data from the lvol to a file and continue the tar to the lvol.&lt;BR /&gt;&lt;BR /&gt;(I haven't tried this, but it should work).</description>
      <pubDate>Fri, 27 Feb 2004 04:46:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/split-files-using-tar/m-p/3204109#M167184</guid>
      <dc:creator>Elmar P. Kolkman</dc:creator>
      <dc:date>2004-02-27T04:46:29Z</dc:date>
    </item>
    <item>
      <title>Re: Split files using tar</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/split-files-using-tar/m-p/3204110#M167185</link>
      <description>try to use tar and split commands together.&lt;BR /&gt;ex&lt;BR /&gt;tar xvf xxx.tar | split -b...&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;split recognizes the following command-line options and arguments:&lt;BR /&gt;&lt;BR /&gt;           -l line_count  The input file is split into pieces line_count&lt;BR /&gt;                          lines in size.&lt;BR /&gt;&lt;BR /&gt;           -a suffix_length&lt;BR /&gt;                          suffix_length letters are used to form the suffix&lt;BR /&gt;                          of the output filenames.  This option allows&lt;BR /&gt;                          creation of more than 676 output files.  The&lt;BR /&gt;                          output file names created cannot exceed the&lt;BR /&gt;                          maximum file name length allowed in the directory&lt;BR /&gt;                          containing the files.&lt;BR /&gt;&lt;BR /&gt;           -b n           The input file is split into pieces n bytes in&lt;BR /&gt;                          size.&lt;BR /&gt;&lt;BR /&gt;           -b nk          The input file is split into pieces n x 1024 bytes&lt;BR /&gt;                          in size.  No space separates the n from the k.&lt;BR /&gt;&lt;BR /&gt;           -b nm          The input file is split into pieces n x 1048576&lt;BR /&gt;                          bytes in size.  No space separates the n from the&lt;BR /&gt;                          m.&lt;BR /&gt;&lt;BR /&gt;           -n             The input file is split into pieces n lines in&lt;BR /&gt;                          size.  This option is obsolescent and is&lt;BR /&gt;                          equivalent to using the -l line_count option.</description>
      <pubDate>Fri, 27 Feb 2004 04:54:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/split-files-using-tar/m-p/3204110#M167185</guid>
      <dc:creator>Lorenzo Facello</dc:creator>
      <dc:date>2004-02-27T04:54:34Z</dc:date>
    </item>
    <item>
      <title>Re: Split files using tar</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/split-files-using-tar/m-p/3204111#M167186</link>
      <description>The example is wrong, the idea correct:&lt;BR /&gt;tar cf - &lt;FILES&gt; | split ...&lt;BR /&gt;&lt;/FILES&gt;</description>
      <pubDate>Fri, 27 Feb 2004 04:58:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/split-files-using-tar/m-p/3204111#M167186</guid>
      <dc:creator>Elmar P. Kolkman</dc:creator>
      <dc:date>2004-02-27T04:58:14Z</dc:date>
    </item>
    <item>
      <title>Re: Split files using tar</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/split-files-using-tar/m-p/3204112#M167187</link>
      <description>Karthik,&lt;BR /&gt;&lt;BR /&gt;The ideas are the same.  You can tar and gzip the file.  Then use split to split the files in whatever sizes you want.&lt;BR /&gt;&lt;BR /&gt;split -b&lt;SIZE_IN_MB&gt;m &lt;FILE_NAME.TAR.GZ&gt; &lt;PREFIX&gt;&lt;BR /&gt;&lt;BR /&gt;split -10m temp.tar.gz myfiles&lt;BR /&gt;&lt;BR /&gt;This will create myfilesxa to myfilesx*.&lt;BR /&gt;&lt;BR /&gt;You can regroup them using cat&lt;BR /&gt;&lt;BR /&gt;cat myfilesxa myfilesxb myfilesxc &amp;gt;temp.tar.gz&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;Umapathy&lt;/PREFIX&gt;&lt;/FILE_NAME.TAR.GZ&gt;&lt;/SIZE_IN_MB&gt;</description>
      <pubDate>Fri, 27 Feb 2004 05:07:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/split-files-using-tar/m-p/3204112#M167187</guid>
      <dc:creator>Umapathy S</dc:creator>
      <dc:date>2004-02-27T05:07:20Z</dc:date>
    </item>
    <item>
      <title>Re: Split files using tar</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/split-files-using-tar/m-p/3204113#M167188</link>
      <description>Of course, you could also just install rar on the server.</description>
      <pubDate>Fri, 27 Feb 2004 05:10:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/split-files-using-tar/m-p/3204113#M167188</guid>
      <dc:creator>Trond Eirik Aune</dc:creator>
      <dc:date>2004-02-27T05:10:42Z</dc:date>
    </item>
    <item>
      <title>Re: Split files using tar</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/split-files-using-tar/m-p/3204114#M167189</link>
      <description>Hi All,&lt;BR /&gt;&lt;BR /&gt;Thanks .. I tried the following,&lt;BR /&gt;&lt;BR /&gt;csplit -k hi.tar 70000 '{69999}'&lt;BR /&gt;&lt;BR /&gt;(creates 4 files xx0*)&lt;BR /&gt;&lt;BR /&gt;compare the size (doesn't match)&lt;BR /&gt;&lt;BR /&gt;root@fep1:/depot/tartest&amp;gt;du -sk hi.tar xx0*&lt;BR /&gt;34660   hi.tar&lt;BR /&gt;6426    xx00&lt;BR /&gt;8526    xx01&lt;BR /&gt;9750    xx02&lt;BR /&gt;1374    xx03&lt;BR /&gt;root@fep1:/depot/tartest&amp;gt;bc&lt;BR /&gt;6426+8526+9750+1374&lt;BR /&gt;26076&lt;BR /&gt;quit&lt;BR /&gt;&lt;BR /&gt;Am I missing something? Do I have to club these files using cat??&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;-Karthik S S</description>
      <pubDate>Fri, 27 Feb 2004 05:12:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/split-files-using-tar/m-p/3204114#M167189</guid>
      <dc:creator>Karthik S S</dc:creator>
      <dc:date>2004-02-27T05:12:04Z</dc:date>
    </item>
    <item>
      <title>Re: Split files using tar</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/split-files-using-tar/m-p/3204115#M167190</link>
      <description>Thank you Umapathy .. it works ..!!&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Karthik S S</description>
      <pubDate>Fri, 27 Feb 2004 05:14:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/split-files-using-tar/m-p/3204115#M167190</guid>
      <dc:creator>Karthik S S</dc:creator>
      <dc:date>2004-02-27T05:14:58Z</dc:date>
    </item>
  </channel>
</rss>

