Split file in linux with zip format?! ( it is possible?)
hi
it is possible for split file with zip format in linux ?! for example split large file to small size like that : zip.01 , zip.02 , zip.03 , etc... any archiver program in linux such as gzip or bzip can doing it ?! Sorry if i have 1 post and my first post is question... i doing search and find it http://winlintips.blogspot.com/2007/...-in-linux.html but it is not interest for me ... i looking for archiver program in linux can split huge file to zip or rar format ...but i know winrar is shareware or winzip .. any archiver program in linux such as gzip or bzip can doing it ?! plz notice that file shall be split to zip or rar formt not any third party format like 7z or another format ... thanx! |
Hi,
on Linux there is a single command to do file splitting. Try Code:
man split |
To uncompress, you do this, lets assume that you have split the files to files.tar.gz.partaa, files.tar.gz.partab, files.tar.gz.partac, etc
cat files.part* | gunzip | tar xvf - |
It always helps to read the man pages :-) doesn't it?
zipsplit [-hiLpst] [-n size] [-b path] zipfile Linux Archive |
Use p7zip, it supports volumes for both zip and 7z formats.
|
kindly thanx to all friend for help me ...
any idea much appreciated .. thanx... |
Quote:
|
split -b 5000000 file.zip file.zip command splits the file.zip into a bunch of the files of 5000000 bytes each named file.zipaa to file.zipzz. To unzip them you need first to concatenate them into zip file using the command cat file.zip?? > newfile.zip.
zipsplit -n 5000000 file.zip command splits file.zip into a bunch of zip files named file1.zip, file2.zip, and so on. The number after -n switch should be greater than the size of the biggest file stored in the original file.zip. The resulting zip files are independent -- you can unzip them separately. |
Any idea where to find a proper man page for zipsplit?
|
I used zipsplit -h command and tested the behavior of the program. Some man page you'll find there: http://www.manpagez.com/man/1/zipsplit/. It's similar to the output of zipsplit -h.
|
All times are GMT -5. The time now is 06:17 AM. |