home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
High Voltage Shareware
/
high1.zip
/
high1
/
DIR36
/
LSIZE22.ZIP
/
LSIZE.DOC
next >
Wrap
Text File
|
1993-11-11
|
5KB
|
119 lines
11/11/93 LSIZE 2.2 - Archive File Sizer
DESCRIPTION
I originally wrote this program to backup very large .LZH files to floppy
disks. There were a few programs that allow you to physically split a file
into parts, but these programs proved to be inconvenient. I wanted a way to
split one archive into many smaller ones that are still readable by the
archiving program. This eliminates the need for rejoining "split" files or
spanning a file across several floppies. LSIZE works well for "sizing"
archives consisting of several smaller files (less than about 1 Meg each).
Remember it is impossible to "size" an archive smaller than its largest file.
Splitting up archives with files this large still requires splitting or
spanning. Luckily, 99% of archives (at least the ones I work with) don't
contain files this large so this program works fine. Finally, my friends
persuaded me to expand the original program to work with the popular ZIP
and ARJ formats as well as LZH.
The current version of the program should work with archives
generated by:
PKZIP version 2.04g,
LHA version 2.13,
ARJ version 2.41 and their predecessors.
NOTE: This program will not split up multi-volume or spanned archives -
attempting to do so can cause unpredictable results!
USAGE: Typing LSIZE alone will produce a help screen.
Command Line: LSIZE SourceFileName [TargetFileNamePrefix] MaxSize
where SourceFileName = name of the archive to be broken up.
TargetFileNamePrefix = prefix of files to be created.
= [defaults to source name].
MaxSize = maximum size(in bytes) of each output file.
= also accepts sizes: 1.44M, 720K, 1.2M, 360K.
EXAMPLES: To split up a file called YEAR.ZIP into files that will each
fit onto 720K floppy disks.
Type: LSIZE YEAR.ZIP 720K
This would produce a number of smaller files called YEAR1.ZIP, YEAR2.ZIP,
YEAR3.ZIP, ...and so on.
To split up a file called BIG.ARJ into smaller files each called
SMALLn.ZIP with a max size of 1.44M.
Type LSIZE BIG.ARJ SMALL 1.44M
Fairly straight forward - heh?
A FEW MORE THINGS: LSIZE will never overwrite files without your permission.
Should a file be placed in a position that it could be overwritten you
will be prompted: overwrite? (Y/N/G)
Y means YES overwrite!
G means YES overwrite this file and any other files you need to.(global)
Any other response means "NO! DO NOT overwrite!" at which point the
program is terminated and you will be returned to the DOS prompt.
LSIZE can only handle archives with no more than 4000 files.
LEGAL STUFF:
I am releasing this program into the public domain. There are no
licenses to buy or fees to pay. (Of course, if you insist -you can
send a donation to the address below!) There are also no guarantees
of any kind. Use this program at your own risk. The only thing I
ask is that you send your comments, suggestions, or bug reports
to me at:
L.S. Lewis email to:
15 Marigold Lane OR larrylw@eden.rutgers.edu
Willingboro, NJ 08046-2812
LSIZE HISTORY
-----------------------------------------------------------------------------
Ver 2.20 11-10-93
----------------------------------------------------------------------------
Changed from small to compressed memory model.
Fixed bug that caused the first file sized from an ARJ to report the wrong
file size.
Ver 2.10 9-24-93
------------------------------------------------------------------------
->Fixed file_name length bug. File names longer than 16 chars bombed the
program. Any file with a path is usually this length.
->Updated program for use with ZIP 2.04g, ARJ 2.41a, and LHA 2.13.
->Updated screen I/O to handle longer file names
Note: LSIZE won't work with multi-volume zips(spanning)!
Ver 2.00 12-30-92
----------------------------------------------------------------------
->Added code to handle ZIP 1.10 and ARJ 2.31 archive formats.
-> LSIZE now handles LZH/ARJ/ZIP formats.
->Updated some screen I/O.
->Toyed with idea of compiling the code for i386 for better speed.
->Kept 8086 instruction set for full compatibility.
Ver 1.20 6-06-92
------------------------------------------------------------------
Path handling has been improved. The output prefix parameter has been
made optional. The default is the source name. The prefix is truncated
if it exceeds 7 letters.
Ver 1.10 5-15-92
-------------------------------------------------------------
Lsize now reports each file's size as it writes.
The final size of each output file is also reported.
The program now recognizes 1.44M, 1.2M, 720K, and 360K as maximum sizes
on the input line.
Ver 1.0 1-92
------------------------------------------------------------------
The original program.