There may be other ways to do this, but this is how I'd do it.
This solution presupposes that you have both zip
and unzip
installed. They are usually installed by default with any major distro that I know of. If you're not sure if you have them installed, the which
command works.
which zip
which unzip
(Both of those should be in /usr/bin/
. If they're not already installed, they're almost certainly in your default repos and can be installed with your package manager.)
Open your terminal and navigate to the directory where you store the file.
Run:
mkdir folder_name
unzip file_name.zip -d folder_name
zip -r -s <desired file size in megabytes>M new_file_name.zip folder_name/*
The expected output of these files will be new_file_name.z01 new_file_name.z02 ... new_file_name.zip
, all of which are zip files. To open the files, simply open the new_file_name.zip
and it will automatically open/extract the associated parts.
As the original question mentioned they wanted a 600mb part, this should create two files with one being 600mb and the second part being the remainder. You can change the <desired file size in megabytes>
to suit your particular needs.
EDIT: In case it's not clear, replace the obvious with the obvious, such as file/folder names and the desired output size(s).