summaryrefslogtreecommitdiffstats
path: root/misc-utils/dsplit.1
blob: f78f058fbb05e1b4ce569dbb3db203900ed5fba7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
.\" Public Domain 1994 Rik Faith (faith@cs.unc.edu)
.TH DSPLIT 1 "5 July 1994" "Linux 1.1" "Linux Programmer's Manual"
.SH NAME
dsplit \- split a large file into pieces
.SH SYNOPSIS
.BI "dsplit [ \-size " nnn " ] [ " input_file " [ " output_base " ] ]"
.SH DESCRIPTION
.B dsplit
splits binary files into smaller chunks so that they may be placed on
floppy disks.
.SH OPTIONS
.TP
.BI \-size " nnn"
Specifies the size of each output file, in bytes.  The default is 1457000,
which is enough to will a 1.44 MB floppy disk.
.TP
.I input_file
Specifies the name of the file to split up.  A \- indicates standard input.
The default is standard input.
.TP
.I output_base
Specifies the name of the output files to be written.
.B dsplit
will append 000, 001, ..., to the
.IR output_base .
The default is "dsplit".
.SH "AUTHOR'S NOTES"
Submitted-by: arnstein@netcom.com (David Arnstein)
.br
Posting-number: Volume 40, Issue 51
.br
Archive-name: dsplit/part01
.br
Environment: MS-DOS, UNIX
.PP
Here is a portable binary file splitting program.  It reads a binary file
and splits it into pieces.  I use this program to put large binary files on
floppy disks.  For this reason, the default size of the output files is
1,457,000 bytes, which just about fills up a 1.44 MB floppy disk.
.PP
Unlike other binary split programs I have seen, dsplit does not malloc a
huge block of memory.  Dsplit is suitable for use under MSDOS and other
primitive operating systems.
.PP
(The program came from
gatekeeper.dec.com:/pub/usenet/comp.sources.misc/volume40/dsplit).