On 8/11/2011 1:14 PM, Camaleón wrote:
> On Thu, 11 Aug 2011 12:33:09 -0400, Chris Brennan wrote:
> 
>> On 8/11/2011 12:26 PM, Camaleón wrote:
>>> "zsplit" cannot do it. It requires the splitted size is at least the
>>> size of the smallest of the archived files. I will have to search
>>> another one ;-(
>>
>> zip -s SIZE should do the trick ... split the archive at your designated
>> size at creation, not after the fact, that might be where
>> zipsplit/zsplit is dropping the ball ....
> 
> Thanks but I don't see "-s" as an available parameter for my zip (2.32) :-
> (. 
> 
> Anyway, if I try it:
> 
> ***
> sm01@stt008:~/Desktop$ zip -s 512000 data *.pdf
> 
> zip error: Invalid command arguments (no such option: s)
> ***
> 
> Greetings,
> 

From my Debian 6-stable box, I have the following (line 152 of the grep
is where I got -s from....)

ch...@leviathan.xaerolimit.net:~$ zip --version
Copyright (c) 1990-2008 Info-ZIP - Type 'zip "-L"' for software license.
This is Zip 3.0 (July 5th 2008), by Info-ZIP.
ch...@leviathan.xaerolimit.net:~$ grep split sssss
57:    -d -s is (delete, split size) while -ds is (dot size)
151:Splits (archives created as a set of split files):
152:  -s ssize  create split archive with splits of size ssize, where
ssize nm
154:  -sp       pause after each split closed to allow changing disks
158:  -sv       be verbose about creating splits
170:  Cannot update split archive, so use --out to out new archive:
171:    zip in_split_archive newfile1 newfile2 --out out_split_archive
172:  If input is split, output will default to same split size
173:  Use -s=0 or -s- to turn off splitting to convert split to single file:
174:    zip in_split_archive -s 0 --out out_single_file_archive
175:      WARNING:  If overwriting old split archive but need less splits,
176:                old splits not overwritten are not needed but remain
210:  -ds siz   each dot is siz processed where siz is nm as splits (0
no dots)
ch...@leviathan.xaerolimit.net:~$


-- 
> Chris Brennan
> --
> A: Yes.
> >Q: Are you sure?
> >>A: Because it reverses the logical flow of conversation.
> >>>Q: Why is top posting frowned upon?
> http://xkcd.com/84/ | http://xkcd.com/149/ | http://xkcd.com/549/
> GPG: D5B20C0C (6741 8EE4 6C7D 11FB 8DA8  9E4A EECD 9A84 D5B2 0C0C)
------------------------------------------------------------------------

Attachment: 0xD5B20C0C.asc
Description: application/pgp-keys

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to