split zip

Discuss Applications

split zip

Postby Tux » Sun Apr 13, 2003 2:16 pm

Hey, can somebody remind me of the syntax for splitting a zip file with tar or zip.

Also, will it be possible for the resultant files to be put back together with pkzip/winzip on a winders box?
Tux
guru
guru
 
Posts: 689
Joined: Wed Jan 08, 2003 10:40 am

Postby Calum » Sun Apr 13, 2003 5:08 pm

it's just "split" do "man split" for more info, but to split a file into floppy sized bits i would do:

Code: Select all
split -b 1400000 filetobesplit.tar.bz2
for example.
and no pkzip and winzip will not be able to deal with split zip files, however there are a few shareware (and maybe even freeware!) tools that will allow you to concatenate the bits back together on a windows box. i have only ever used "cat" in cygwin for this, which works well, but it's overkill. there are a few lightweight ones around (on download.com et cetera) that i haven't tried but which claim to do this.
User avatar
Calum
guru
guru
 
Posts: 1343
Joined: Fri Jan 10, 2003 11:32 am
Location: Bonny Scotland

Postby Void Main » Sun Apr 13, 2003 8:40 pm

You can use "COPY /B FILEBIT1+FILEBIT2+FILEBIT3 ORIGINALFILE" to paste a file that has been split in DOS/Windows.
User avatar
Void Main
Site Admin
Site Admin
 
Posts: 5705
Joined: Wed Jan 08, 2003 5:24 am
Location: Tuxville, USA

Postby Tux » Mon Apr 14, 2003 4:34 am

Thanks guys.
I need to email something to a windows user but the file is over the attachment size allowed on linuxmail.org.
Tux
guru
guru
 
Posts: 689
Joined: Wed Jan 08, 2003 10:40 am

Postby Void Main » Mon Apr 14, 2003 8:04 am

Can't you just put it on an http or ftp server somewhere so the recipient can just download it from a URL? It would save some grunt work on the mail servers.
User avatar
Void Main
Site Admin
Site Admin
 
Posts: 5705
Joined: Wed Jan 08, 2003 5:24 am
Location: Tuxville, USA

Postby Tux » Mon Apr 14, 2003 8:25 am

I dont have any webspace or anything :(
But i'm being given a static IP adress to use soon, so i'll use that in the future.
It was a one off anyway :p
Tux
guru
guru
 
Posts: 689
Joined: Wed Jan 08, 2003 10:40 am


Return to Applications

Who is online

Users browsing this forum: No registered users and 1 guest

cron