    <rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:admin="http://webns.net/mvcb/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:content="http://purl.org/rss/1.0/modules/content/">
     <channel>
        <title>Linux.com :: Multi-Part Zip File Unzip from Bin-Bash / Command Prompt</title>
        <link>http://www.linux.com/archive/forums/topic/5326</link>
        <description>Everything Linux and Open Source</description>
        <dc:language>en-us</dc:language> 
        <dc:creator>Linux.com Admin</dc:creator> 
        <admin:generatorAgent rdf:resource="http://www.linux.com" /> 
        <admin:errorReportsTo rdf:resource="mailto:noreply@linux.com" />
       <sy:updatePeriod>hourly</sy:updatePeriod>
       <sy:updateFrequency>1</sy:updateFrequency>
       <docs>http://backend.userland.com/rss</docs>



<div class="xarbb-noteswrapper">
</div>

   <div class="xarbb-noteswrapper">
       <div class="xar-sub rightnote">
           <div>
                    <a href="http://www.linux.com/archive/forums/topic/5328">
Previous Topic</a>
|
                    <a href="http://www.linux.com/archive/forums/topic/4780">
Next Topic</a>
</div>

           <div>
                    <a href="http://www.linux.com/archive/forums/printtopic/5326?theme=print">
Print this topic</a> |
You are not subscribed            </div>
        </div>
        <div style="clear: both;"></div>
    </div>

    <h1>
        <a class="xar-title" href="http://www.linux.com/archive/forums/topic/5326">Multi-Part Zip File Unzip from Bin-Bash / Command Prompt</a>
   </h1>


   <div class="xarbb-topiccontrols">
<form action="http://www.linux.com/archive/forums?func=jump" method="post">
   <label for="xarbb_jump_menu">Forum Jump</label>
    <select name="f" id="xarbb_jump_menu" onchange="this.form.submit();">
        <optgroup label="Options">
            <option value="1" selected="selected">
Please select forum            </option>
            <option value="1">--------------------</option>
        </optgroup>
        <optgroup label="Forums">
                <option value="1">New to Linux</option>
                <option value="2">Hardware</option>
                <option value="3">Linux Distributions</option>
                <option value="4">Applications</option>
                <option value="5">Programming and Development</option>
                <option value="6">Miscellaneous Discussion</option>
                <option value="7">Linux.com Writers Forum</option>
                <option value="8">Jobs</option>
        </optgroup>
    </select>
    <input type="submit" class="button" value="Jump" />
</form>
<div style="clear: both;"></div>
   </div>

   <div class="xarbb-topiccontrols">

<span class="xar-sub">
    <a href="http://www.linux.com/archive/forums">
Forum Index    </a>
    <span style="font-size: larger;">&#187;</span>
    <a href="http://www.linux.com/archive/forums/category/4181">
        Forums 
    </a>
    <span style="font-size: larger;">&#187;</span>
    <a href="http://www.linux.com/archive/forums/forum/1">
        New to Linux   </a>
</span>
<div style="clear: both;"></div>
   </div>

<div class="xarbb-tablewrapper">



   <table>
       <tr>
           <th scope="col">
Author</th>
           <th scope="col">
Message</th>
       </tr>



            <tr>
                <td class="xar-norm author">
                    <div>
                        <a href="http://www.linux.com/archive/roles/422539">dougabc123</a>
                   </div>
                   <div class="xar-sub">
Joined: May 07, 2009<br/>Posts: 3                        <br />
                        <a href="http://www.linux.com/archive/forums?by=422539&amp;func=searchtopics">
Other Topics</a>
                   </div>
               </td>

               <td class="xar-norm message">
                   <div class="xarbb-messagecontrols">
                       <div class="leftnote">
                           <span class="xar-sub">
Posted May 07, 2009 at 11:22:47 AM</span>
                       </div>



<div style="float: left;">
                           <strong class="xar-sub">
Subject: Multi-Part Zip File Unzip from Bin-Bash / Command Prompt                            </strong>
                        </div>
                        <div style="clear: both;"></div>
                    </div>

                    <div>
                        I have searched the internet from end to end and I have not found an answer to:

How to unzip a multi-part zip file on Linux.  I have need to zip large files in to smaller pieces, upload them to a web server, and then access the web server via Putty (Bin-Bash), to unzip the multi-part zip file.

Note, I can re-zip (compress any way you suggest), and re-upload the files, if that is what you recommend - to make this easier.

Help!

There may be cryptic ways to accomplish this, but I'm seeking to use a tool like 7-zip to compress the files.  A straight forward 1, 2, 3, solution would be greatly appreciated.

A Linux guru that is an expert in 'dumbing down' the techno-linux in to understandable jargon, to the rescue!

Greatfully,

DougABC123
activekidzsports.com<p class="hiddensignature">
DougABC123
http://activekidzsports.com</p>
</div>

                </td>
            </tr>

            <tr>
                <td class="xar-norm author">
                    <a href="http://www.linux.com/archive/forums/topic/5326#top">
Back to top</a>
</td>
               <td class="xar-alt">

                        <a href="http://www.linux.com/archive/roles/422539">
                            <img src="modules/xarbb/xarimages/new/icon_profile.gif" alt="Profile" />
                        </a>
                        <a href="http://www.linux.com/archive/?module=roles&amp;func=email&amp;uid=422539">
                            <img src="modules/xarbb/xarimages/new/icon_email.gif" alt="Email" />
                       </a>
                            <a href="http://activekidzsports.com">
                                <img src="modules/xarbb/xarimages/new/icon_www.gif" alt="Website" />
                           </a>
</td>
           </tr>





           <tr>
               <td class="xar-norm author">
                   <strong>

                            <a href="http://www.linux.com/archive/roles/397661">
                                Reed                           </a>
</strong>

                   <span class="xar-sub">
<br />
Joined Feb 07, 2008<br/>Posts: 758<br />
                        <br />
                        <a href="http://www.linux.com/archive/forums?by=397661&amp;func=searchtopics">
Other Topics                        </a>
                    </span>
                </td>

                <td class="xar-accent message">
                   <div class="xarbb-messagecontrols">
                       <div class="leftnote">
                           <span class="xar-sub">
Posted:
                                May 07, 2009 1:05:45 PM                           </span>
                       </div>
                       <div class="rightnote">
</div>
                       <div style="float:left;">
                           <strong class="xar-sub">
Subject:
                                <a name="1212652" href="http://www.linux.com/archive/forums/topic/5326#1212652">
                                    Multi-Part Zip File Unzip from Bin-Bash / Command Prompt                                </a>
                            </strong>
                        </div>
                        <div style="clear: both;"></div>
                    </div>

                    <div style="clear: left;">
                        Sorry for the bad formatting here, but this should work:  Have all your multi-part files in directory:  cat multi-files.* &gt; merged-files.zip  :  zip -F merged-files.zip  :  unzip merged-files.zip                     </div>
                </td>
            </tr>

            <tr>
                <td class="xar-norm author">
                    <a href="http://www.linux.com/archive/forums/topic/5326#top">
Back to top</a>
</td>

               <td class="xar-alt">

                            <a href="http://www.linux.com/archive/roles/397661">
                                <img src="modules/xarbb/xarimages/new/icon_profile.gif" alt="Profile" />
                            </a>
                            <a href="http://www.linux.com/archive/?module=roles&amp;func=email&amp;uid=397661">
                                <img src="modules/xarbb/xarimages/new/icon_email.gif" alt="Email" />
                           </a>
                                <a href="http://">
                                    <img src="modules/xarbb/xarimages/new/icon_www.gif" alt="Website" />
                               </a>
</td>
           </tr>

           <tr>
               <td class="xar-norm author">
                   <strong>

                            <a href="http://www.linux.com/archive/roles/422539">
                                dougabc123                           </a>
</strong>

                   <span class="xar-sub">
<br />
Joined May 07, 2009<br/>Posts: 3<br />
                        <br />
                        <a href="http://www.linux.com/archive/forums?by=422539&amp;func=searchtopics">
Other Topics                        </a>
                    </span>
                </td>

                <td class="xar-norm message">
                   <div class="xarbb-messagecontrols">
                       <div class="leftnote">
                           <span class="xar-sub">
Posted:
                                May 12, 2009 1:11:31 AM                           </span>
                       </div>
                       <div class="rightnote">
</div>
                       <div style="float:left;">
                           <strong class="xar-sub">
Subject:
                                <a name="1212765" href="http://www.linux.com/archive/forums/topic/5326#1212765">
                                    Re:  Re:  Multi-Part Zip File Unzip from Bin-Bash / Command Prompt                                </a>
                            </strong>
                        </div>
                        <div style="clear: both;"></div>
                    </div>

                    <div style="clear: left;">
                        Just to clarify:

1. upload the zip files in a multi-part zip file format.
2. use the cat function (concatenate) to merge the files in to a single zip file.
3. use the unzip command to unzip the files.

Result:

Able to upload smaller files.
Able to manipulate the smaller files back in to a single zip file.
Able to unzip the zip file.
Big huge file uploaded.

Question:

Are any of the following questions effected by the concatenate above?

What zip file format do you recommend?

gzip
zip
(7z, BZip2, Tar &lt;- I'm shying away from these formats for some unknown reason)

What compression method do you recommend?  

Deflate
Deflate64
LZMA
BZip2

How do the dictionary size and word size effect this process?

Can encryption be used?

Doug


[quote=Reed]Sorry for the bad formatting here, but this should work:  Have all your multi-part files in directory:  cat multi-files.* &gt; merged-files.zip  :  zip -F merged-files.zip  :  unzip merged-files.zip [/quote]
[Modified by: dougabc123 on May 11, 2009 07:12 PM]
<p class="hiddensignature">
DougABC123
http://activekidzsports.com</p>
                    </div>
                </td>
            </tr>

            <tr>
                <td class="xar-norm author">
                    <a href="http://www.linux.com/archive/forums/topic/5326#top">
Back to top</a>
</td>

               <td class="xar-alt">

                            <a href="http://www.linux.com/archive/roles/422539">
                                <img src="modules/xarbb/xarimages/new/icon_profile.gif" alt="Profile" />
                            </a>
                            <a href="http://www.linux.com/archive/?module=roles&amp;func=email&amp;uid=422539">
                                <img src="modules/xarbb/xarimages/new/icon_email.gif" alt="Email" />
                           </a>
                                <a href="http://activekidzsports.com">
                                    <img src="modules/xarbb/xarimages/new/icon_www.gif" alt="Website" />
                               </a>
</td>
           </tr>

           <tr>
               <td class="xar-norm author">
                   <strong>

                            <a href="http://www.linux.com/archive/roles/397661">
                                Reed                           </a>
</strong>

                   <span class="xar-sub">
<br />
Joined Feb 07, 2008<br/>Posts: 758<br />
                        <br />
                        <a href="http://www.linux.com/archive/forums?by=397661&amp;func=searchtopics">
Other Topics                        </a>
                    </span>
                </td>

                <td class="xar-accent message">
                   <div class="xarbb-messagecontrols">
                       <div class="leftnote">
                           <span class="xar-sub">
Posted:
                                May 12, 2009 12:15:59 PM                           </span>
                       </div>
                       <div class="rightnote">
</div>
                       <div style="float:left;">
                           <strong class="xar-sub">
Subject:
                                <a name="1212773" href="http://www.linux.com/archive/forums/topic/5326#1212773">
                                    Multi-Part Zip File Unzip from Bin-Bash / Command Prompt                                </a>
                            </strong>
                        </div>
                        <div style="clear: both;"></div>
                    </div>

                    <div style="clear: left;">
                        Hmm, I misread your first post a little.  I thought you had created a multi-part zip volume already, and what I listed is specific to multi-part .zip files.  It's just saying, if you have multi-part files, .zip001, .zip002, etc, combine them into one zip file, fix (-F) the archive, and unzip them.  With other formats, you don't generally have to do anything special.  For example, if I had a 7z multi-part volume, you would just point 7z at the first part of the volume to extract:  7z e myfile.7z.001  :  As for which, I believe lzma has the best compression (7z uses lzma), with bzip2 coming in second, and bzip2 is probably faster.                    </div>
                </td>
            </tr>

            <tr>
                <td class="xar-norm author">
                    <a href="http://www.linux.com/archive/forums/topic/5326#top">
Back to top</a>
</td>

               <td class="xar-alt">

                            <a href="http://www.linux.com/archive/roles/397661">
                                <img src="modules/xarbb/xarimages/new/icon_profile.gif" alt="Profile" />
                            </a>
                            <a href="http://www.linux.com/archive/?module=roles&amp;func=email&amp;uid=397661">
                                <img src="modules/xarbb/xarimages/new/icon_email.gif" alt="Email" />
                           </a>
                                <a href="http://">
                                    <img src="modules/xarbb/xarimages/new/icon_www.gif" alt="Website" />
                               </a>
</td>
           </tr>

           <tr>
               <td class="xar-norm author">
                   <strong>

                            <a href="http://www.linux.com/archive/roles/422539">
                                dougabc123                           </a>
</strong>

                   <span class="xar-sub">
<br />
Joined May 07, 2009<br/>Posts: 3<br />
                        <br />
                        <a href="http://www.linux.com/archive/forums?by=422539&amp;func=searchtopics">
Other Topics                        </a>
                    </span>
                </td>

                <td class="xar-norm message">
                   <div class="xarbb-messagecontrols">
                       <div class="leftnote">
                           <span class="xar-sub">
Posted:
                                May 12, 2009 12:41:59 PM                           </span>
                       </div>
                       <div class="rightnote">
</div>
                       <div style="float:left;">
                           <strong class="xar-sub">
Subject:
                                <a name="1212777" href="http://www.linux.com/archive/forums/topic/5326#1212777">
                                    Multi-Part Zip File Unzip from Bin-Bash / Command Prompt                                </a>
                            </strong>
                        </div>
                        <div style="clear: both;"></div>
                    </div>

                    <div style="clear: left;">
                        Thank you Reed.  I greatly appreciate your reply.  

I'm limited to the software on my web site hosting company's Debian Linux 64-bit servers.  Although, they most definitely support gzip and zip, so I think I'll stick to zip because it easily supports encryption on the 7z GUI.

Here's my question: After making a multi-part zip archive, and uploading them to the web server, how do I unzip the multi-part archive from a command prompt using Putty and Bin Bash commands?  What is the command line syntax.  Thank you again.<p class="hiddensignature">
DougABC123
http://activekidzsports.com</p>
                    </div>
                </td>
            </tr>

            <tr>
                <td class="xar-norm author">
                    <a href="http://www.linux.com/archive/forums/topic/5326#top">
Back to top</a>
</td>

               <td class="xar-alt">

                            <a href="http://www.linux.com/archive/roles/422539">
                                <img src="modules/xarbb/xarimages/new/icon_profile.gif" alt="Profile" />
                            </a>
                            <a href="http://www.linux.com/archive/?module=roles&amp;func=email&amp;uid=422539">
                                <img src="modules/xarbb/xarimages/new/icon_email.gif" alt="Email" />
                           </a>
                                <a href="http://activekidzsports.com">
                                    <img src="modules/xarbb/xarimages/new/icon_www.gif" alt="Website" />
                               </a>
</td>
           </tr>
</table>
</div>

<div class="xarbb-topiccontrols">

<span class="xar-sub">
    <a href="http://www.linux.com/archive/forums">
Forum Index    </a>
    <span style="font-size: larger;">&#187;</span>
    <a href="http://www.linux.com/archive/forums/category/4181">
        Forums 
    </a>
    <span style="font-size: larger;">&#187;</span>
    <a href="http://www.linux.com/archive/forums/forum/1">
        New to Linux   </a>
</span>

</div>



            </channel>
</rss>
