home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Fresh Fish 9
/
FreshFishVol9-CD2.bin
/
bbs
/
util
/
ssplit-1.3.lha
/
SSplit
/
SSplit.doc
< prev
next >
Wrap
Text File
|
1994-02-14
|
4KB
|
121 lines
ssplit 1.3
Copyright © 1992-1994 Stefan Sticht
All rights reserved
ssplit is freeware
Permission is granted to make and distribute verbatim copies of this
program's executable and documentation as you receive it, in any medium,
provided that you conspicuously and appropriately publish only the
original, unmodified program, with all copyright notices and disclaimers of
warranty intact and including all the accompanying documentation, example
files and anything else that came with the original.
NO WARRANTY
There is no warranty for this software package. Although the author has
tried to prevent errors, he can't guarantee that the software package
described in this document is 100% reliable. You are therefore using this
material at your own risk. The author cannot be made responsible for any
damage which is caused by using this software package.
What is ssplit?
The purpose of this small utility is to split one big file into several
small files. This is helpfull if you want to copy a big file to floppy
disks, which normally wouldn't fit on one disk. ssplit splits the big file
in several smaller files, which will fit on a disk.
The small can be put together using the AmigaDOS Join programm or something
similiar.
ssplit's template:
FROM/A,TO/A,SIZE/K/N,BUFFER/K/N,DDOFS/S,DDMSDOS/S,HDFFS/S,HDMSDOS/S
FROM: the file you want to split; no wildcards allowed
TO: the destination directory, where the splitted files should go to;
the files are named <from-filename>.1 to <from-filename>.x;
the <from-filename> gets shortened, if the resulting filename
would be longer than 30 chars
SIZE: the size in _blocks_ of the splitted files; default is 1730 blocks,
such a file just fits on double density disk using the fastfilesystem
BUFFER: ssplit needs a buffer to read a part of the <from-file>;
the size of this buffer can be limited by BUFFER (in bytes!);
normally ssplit uses the maximum size of a splitted file or
half of the largest available memory block.
DDOFS: use 1648 blocks for the splitted files; these files will fit
on a double density "old"-filesystem disk
DDMSDOS: use 1425 blocks for the splitted files; these files will fit
on a double density MS-DOS disk
HDFFS: use 3566 blocks for the splitted files; these files will fit
on a high density disk formatted with ffs
HDMSDOS: use 3566 blocks for the splitted files; these files will fit
on a MS-DOS high density disk
The options SIZE, DDOFS, DDMSDOS, HDFFS and HDMSDOS are mutually
exclusive.
some examples:
ssplit dh0:bigfile dh0: size 1000
splits the file dh0:bigfile in dh0:bigfile.1, bigfile.2, etc.;
each part of bigfile shall be 1000 blocks (= 500kB);
the size of the buffer used by ssplit will be 500kB or half of the
largest memory block available, if a continuous memory block of
500kB isn't available
ssplit dh0:bigfile dh0: size 1000 buffer 1024
same as above, but uses a buffer of 1024 bytes
ssplit dh0:bigfile dh1:
splits dh0:bigfile into dh1:bigfile.1, dh1:bigfile.2, etc.;
each dh1:bigfile.? will be 1730 blocks long (this file will
just fit on an fastfilesystem double-density-disk)
ssplit dh0:bigfile dh1: HDFFS
splits dh0:bigfile into dh1:bigfile.1, dh1:bigfile.2, etc.;
each dh1:bigfile.? will be 3566 blocks long (this file will
just fit on an fastfilesystem high-density-disk)
Join dh1:bigfile.1 dh1:bigfile.2 dh1:bigfile.3 AS dh1:bigfile
this puts the splitted files together to the old big file,
but you must put them together in the _right order_!
History
V1.1 first public version
V1.2 Oh no! I forgot to initialize a variable and so
the command line options coulnd't be parsed right.
V1.3 reompiled with SAS/C 6.51
The author can be reached at the following addresses:
Stefan Sticht
Biberecker Weg 40a
D-94036 Passau
Germany
EMail: sticht@edith.deg.sub.org (Internet)
Stefan Sticht 2:2494/22.4 (Fido)