<?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: Using split command to transfer files in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/using-split-command-to-transfer-files/m-p/3022662#M130848</link>
    <description>split -b 100000K bigfile.tar.gz bigfile&lt;BR /&gt;&lt;BR /&gt;now you will get like bigfileaa, bigfileab ....&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Karthik S S</description>
    <pubDate>Mon, 14 Jul 2003 10:16:03 GMT</pubDate>
    <dc:creator>Karthik S S</dc:creator>
    <dc:date>2003-07-14T10:16:03Z</dc:date>
    <item>
      <title>Using split command to transfer files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/using-split-command-to-transfer-files/m-p/3022661#M130847</link>
      <description>Hi,&lt;BR /&gt;I have a file(not a filesystem) which is about 3GB in size. I would like to transfer this huge file over the WAN. &lt;BR /&gt;&lt;BR /&gt;However, when I tried using rsync as tool to transfer this file over the WAN, it just hangs indefinitely. &lt;BR /&gt;&lt;BR /&gt;Hence I tried breaking up the file into smaller equal sized chunks using:&lt;BR /&gt;# split -b 100000K bigFile.tar.gz&lt;BR /&gt;&lt;BR /&gt;Once using split on the file above, I obtain the files with names beginning with xa i.e. &lt;BR /&gt;xaa&lt;BR /&gt;xab&lt;BR /&gt;xac &lt;BR /&gt;(list continues ...)&lt;BR /&gt;&lt;BR /&gt;I'm able to regroup this file into back into its original file(after transferring each one of them), by doing:&lt;BR /&gt;#!/bin/sh&lt;BR /&gt;cat xaa xab xac xad xae xaf xag &amp;gt; join&lt;BR /&gt;&lt;BR /&gt;However, I do have several other files of such enormity. I noticed that whenever a file is split using the split command, it will always produce files beginning with names xa[a...], no matter if the files are different.  &lt;BR /&gt;&lt;BR /&gt;This would be difficult to track if I were to transfer several of those files simultaneously.&lt;BR /&gt;&lt;BR /&gt;Could anyone kindly show me a better way of solving this problem?&lt;BR /&gt;&lt;BR /&gt;Thanks.&lt;BR /&gt;</description>
      <pubDate>Mon, 14 Jul 2003 10:12:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/using-split-command-to-transfer-files/m-p/3022661#M130847</guid>
      <dc:creator>Peter Remirez</dc:creator>
      <dc:date>2003-07-14T10:12:44Z</dc:date>
    </item>
    <item>
      <title>Re: Using split command to transfer files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/using-split-command-to-transfer-files/m-p/3022662#M130848</link>
      <description>split -b 100000K bigfile.tar.gz bigfile&lt;BR /&gt;&lt;BR /&gt;now you will get like bigfileaa, bigfileab ....&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Karthik S S</description>
      <pubDate>Mon, 14 Jul 2003 10:16:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/using-split-command-to-transfer-files/m-p/3022662#M130848</guid>
      <dc:creator>Karthik S S</dc:creator>
      <dc:date>2003-07-14T10:16:03Z</dc:date>
    </item>
    <item>
      <title>Re: Using split command to transfer files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/using-split-command-to-transfer-files/m-p/3022663#M130849</link>
      <description>Peter,&lt;BR /&gt;&lt;BR /&gt;According to the man page, "The name of the first output file is name with&lt;BR /&gt;      aa appended, and so on lexicographically, up to zz (only ASCII letters&lt;BR /&gt;      are used, a maximum of 676 files).  If no output name is given, x is&lt;BR /&gt;      the default."&lt;BR /&gt;&lt;BR /&gt;So, if you add the optional 'name' paramter, you can control the output file naming to your liking.&lt;BR /&gt;&lt;BR /&gt;"split [-b n[k|m]] [-a suffix_length] [file [name]]"&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 14 Jul 2003 10:18:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/using-split-command-to-transfer-files/m-p/3022663#M130849</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2003-07-14T10:18:10Z</dc:date>
    </item>
    <item>
      <title>Re: Using split command to transfer files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/using-split-command-to-transfer-files/m-p/3022664#M130850</link>
      <description>Hi,&lt;BR /&gt;from "man split"&lt;BR /&gt;&lt;BR /&gt;The name of the first output file is name with&lt;BR /&gt;      aa appended, and so on lexicographically, up to zz (only ASCII letters&lt;BR /&gt;      are used, a maximum of 676 files).  If no output name is given, x is&lt;BR /&gt;      the default.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;So, if you want a different beginning, just specify a name !&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt; Massimo&lt;BR /&gt;</description>
      <pubDate>Mon, 14 Jul 2003 10:21:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/using-split-command-to-transfer-files/m-p/3022664#M130850</guid>
      <dc:creator>Massimo Bianchi</dc:creator>
      <dc:date>2003-07-14T10:21:57Z</dc:date>
    </item>
  </channel>
</rss>

