Friday, March 16, 2012

Unzip Multipart Archive in Linux

The post takes you through steps to unzip a multipart archive in Linux.
• Download binary file to install 7zip in linux:
file: p7zip_9.20.1_x86_linux_bin.tar.bz2

• Install 7zip.
Command to install 7zip: tar xvjf p7zip_9.20.1_x86_linux_bin.tar.bz2
Note: By default it will be installed in /usr/local/bin

• Run the command to unzip multipart archive.
Go to the location where you have multipart archive file and run following command.
$ /usr/locale/bin/7za x .zip.001

Command to create a multi-part archive:
Go to folder which you want to archive and run the following command.
$ /usr/local/bin/7z a <archive-name.7z> <folder_name> -v1024m


$ /usr/local/bin/7za a -v700m destination_file source_file