LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Split file in linux with zip format?! ( it is possible?) (https://www.linuxquestions.org/questions/linux-newbie-8/split-file-in-linux-with-zip-format-it-is-possible-713700/)

rax99 03-23-2009 12:22 AM

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!

mesiol 03-23-2009 03:22 AM

Hi,

on Linux there is a single command to do file splitting. Try
Code:

man split
.

Borax_Man 03-23-2009 04:16 AM

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 -

JaksoDebr 03-23-2009 05:00 PM

It always helps to read the man pages :-) doesn't it?

zipsplit [-hiLpst] [-n size] [-b path] zipfile

Linux Archive

H_TeXMeX_H 03-24-2009 03:09 PM

Use p7zip, it supports volumes for both zip and 7z formats.

rax99 03-26-2009 02:20 PM

kindly thanx to all friend for help me ...

any idea much appreciated ..

thanx...

archtoad6 04-06-2009 01:06 PM

Quote:

Originally Posted by JaksoDebr (Post 3485464)
It always helps to read the man pages :-) doesn't it?

zipsplit [-hiLpst] [-n size] [-b path] zipfile

Normally I'd agree w/ you, but neither the zipsplit man page on my MEPIS 7 box nor the one at die.net, has an entry explaining "-n size". We might guess that when zip is invoked as zipsplit, that the "-n size" option tells it the maximum desired size of the compressed pieces; but I can't find where the man page actually says this.

w1k0 04-06-2009 01:40 PM

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.

archtoad6 04-06-2009 03:18 PM

Any idea where to find a proper man page for zipsplit?

w1k0 04-07-2009 09:07 PM

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.