LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-29-2009, 12:32 PM   #1
shogun1234
Member
 
Registered: May 2004
Posts: 226

Rep: Reputation: 15
zipsplit size question


I searched the forum but seemingly the question previously posted is not related what I want to ask. So post my question here.

I list the zipsplit help and check on the internet (http://wiki.linuxquestions.org/wiki/Zipsplit)

It says that I can use
Code:
zipsplit -tn 100000 blah.zip
to split zip file with size specified. -t reports but doesn't create files.

However, when I try
Code:
zipsplit -n 100000 blah.zip
it always says
Code:
zipsplit warning: Entry is larger than max split size of: 99978
zipsplit warning: use -n to set split size
zipsplit error: Entry too big to split, read, or write (file.mp4)
What goes wrong here?

Or what should I do so that I can split zip file into several pieces?

Thanks.
 
Old 10-29-2009, 12:39 PM   #2
shogun1234
Member
 
Registered: May 2004
Posts: 226

Original Poster
Rep: Reputation: 15
I think I know the reason why now after reading this thread - https://lists.ubuntu.com/archives/ub...ly/152989.html

It looks like the file element can't be larger than the one specified by -n. There is only one file in my zip archive and it is larger than file size specified defenitively because it is video file.

Is there any chance to split zip archive regardless to the element inside it?

Thanks.
 
Old 01-02-2021, 05:10 PM   #3
kavius
Member
 
Registered: Feb 2003
Location: Halifax, NS, CAN
Distribution: Ubuntu
Posts: 71

Rep: Reputation: 16
Only because it came up in my search for the same problem...

Thank-you for sharing the problem with zipsplit (I'm annoyed), here's what I was trying to replace

Code:
zip -s 64k -O split.zip pkg.zip
Will generate a number of files that are no larger than 64kb.

Reconstructing the data is apparently a little problematic since it's not really supported. The trick is to use the zip utility to merge all teh parts together, and then unzip the result.

Code:
zip -s- split.zip -O unpkg.zip
unzip unpkg.zip
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
page size question vvenugop General 2 08-14-2008 08:14 AM
"zipsplit" question jkkunil Linux - General 7 10-17-2007 08:18 PM
Disk size question GTrax Linux - Hardware 2 09-13-2007 05:45 PM
Size Question and how to Rick Harvey Linux - Newbie 13 10-30-2005 02:16 PM
question about inode size PTBmilo Linux - General 2 03-02-2003 02:20 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:01 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration