Customize Consent Preferences

We use cookies to help you navigate efficiently and perform certain functions. You will find detailed information about all cookies under each consent category below.

The cookies that are categorized as "Necessary" are stored on your browser as they are essential for enabling the basic functionalities of the site. ... 

Always Active

Necessary cookies are required to enable the basic features of this site, such as providing secure log-in or adjusting your consent preferences. These cookies do not store any personally identifiable data.

No cookies to display.

Functional cookies help perform certain functionalities like sharing the content of the website on social media platforms, collecting feedback, and other third-party features.

No cookies to display.

Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics such as the number of visitors, bounce rate, traffic source, etc.

No cookies to display.

Performance cookies are used to understand and analyze the key performance indexes of the website which helps in delivering a better user experience for the visitors.

No cookies to display.

Advertisement cookies are used to provide visitors with customized advertisements based on the pages you visited previously and to analyze the effectiveness of the ad campaigns.

No cookies to display.

ndzlogo-1-1
80%
Loading ...

INDIA – HEADQUARTERS

INDIA

UNITED STATES

CANADA

Have any one tried to unzip a file bigger than 4GB using unzip command?

If you try to unzip a file larger than 4GB, It will show an error message like below;

============
error: Zip file too big (greater than 4294959102 bytes)
============

Unzipping a file in Linux is pretty straight-forward with the “unzip” command. If it returns an error about the file size being too big, then you will have to use another tool.

The 7za utility from the p7zip package can handle really huge files. You can download and install this utility by using yum as root:

Code:
$ yum install p7zip p7zip-plugins

To extract a file, use the command

Code:
$ 7za e <zip file>

where <zip file> is the name of the file.

If the p7zip is not in your yum database, then you can download it from the website https://www.7-zip.org/download.html

1) Go through the above URL select the appropriate p7zip package for your server.

2) Download the tar.bz file to your server (p7zip_9.20.1_src_all.tar.bz2)

3) Extract the file using the below command

Code:
tar jxf p7zip_9.20.1_src_all.tar.bz2

4) After extracting the file, you can see a folder named “p7zip_9.20.1”

5) Enter in to the directory and run the “install.sh” script to install p7zip

USAGE:

7za t archive.7z : tests files in the archive archive.7z
7za l archive.7z : lists all files from archive archive.7z
7za x archive.7z : extracts all files from archive archive.7z
7za a archive.7z file1 fileN : add files to the archive archive.7z
7za a archive.7z dir1 : add all files and subdirectories from directory “dir1” to archive archive.7z

You can also add or extract files to/from .zip or .tar archives.
You can also compress/uncompress .gz or .bz2 files.

7za a -tzip archive.zip file file2 file3
7za a -ttar archive.tar file
7za a -tgzip file.gz file
7za a -tbzip2 archive.bz2 file