On Sun, 9 Apr 2023 08:45:12 -0500
Ben Collver - Aug <
0@5016.124.1> wrote:
I am not familiar enough with 7z to make it do this. If it were me, i would use SPLIT.EXE from DJGPP's textutils package.
split -b 1500MB -d file.gpg file.gpg.
<http://www.delorie.com/pub/djgpp/current/v2gnu/txt20br3.zip>
<https://www.gnu.org/software/coreutils/manual/html_node/split-invocation.html>
Thx for the djgpp tip. The split in there can do the trick.
Meanwhile I learned about the UnxUtils set for dos/win. It seems to be a larger set of commands than txt20br3, but the split in UnxUtils seems to be exactly the same.
Before all this, I discovered Split10:
Created by Syed Nasir Alsagoff (
synasir@tm.net.my) - May 1997
Usage: SPLIT [file.ext] [-# of partitions] or [size of partition in bytes] [target]
You can either choose the number of partitions or the size of partition
only but not both.
Target is optional. The default will be to the current drive and directory.
e.g SPLIT file.ext -10 to split file `file.ext' 10 times.
e.g SPLIT file.ext 1474560 to split file `file.ext' to partitions of
1 megabyte each.
e.g SPLIT file.ext -10 a: to split file `file.ext' 10 times. to the a: drive. e.g SPLIT file.ext 1474560 c:\install\ to split file `file.ext' to partitions of 1 megabyte each to `c:\install\'.
Output:
SPLIT file.ext -10 will create file.001, file.002.......file.009, file.010 and file.bat.
The `file.bat' is created for the user to rejoin the file.
Usage: FILE [source] [target] e.g file a:\ c:install\
The source and target are optional. If no target is specified, the current drive and directory are used.
That worked ok for the small files that I wanted to test with, but it has problems with anything greater than 800MB or so.
I also discovered HJSPLIT. That operates with a Windows GUI. Very simple to use, and is capable of operating on very large files.
But I like the simpler command-line version of split found in djgpp and UnxUtils.
---
* Origin: nntp://news.fidonet.fi (2:221/6.0)