blob: f78f058fbb05e1b4ce569dbb3db203900ed5fba7 [file] [log] [blame]
.\" 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).