home *** CD-ROM | disk | FTP | other *** search
/ High Voltage Shareware / high1.zip / high1 / DIR36 / LSIZE22.ZIP / LSIZE.DOC next >
Text File  |  1993-11-11  |  5KB  |  119 lines

  1.  
  2. 11/11/93            LSIZE 2.2  -  Archive File Sizer
  3.  
  4. DESCRIPTION   
  5. I originally wrote this program to backup very large .LZH files to floppy
  6. disks.  There were a few programs that allow you to physically split a file
  7. into parts, but these programs proved to be inconvenient.  I wanted a way to 
  8. split one archive into many smaller ones that are still readable by the 
  9. archiving program.  This eliminates the need for rejoining "split" files or 
  10. spanning a file across several floppies.  LSIZE works well for "sizing" 
  11. archives consisting of several smaller files (less than about 1 Meg each).
  12. Remember it is impossible to "size" an archive smaller than its largest file.
  13. Splitting up archives with files this large still requires splitting or 
  14. spanning.  Luckily, 99% of archives (at least the ones I work with) don't 
  15. contain files this large so this program works fine.  Finally, my friends 
  16. persuaded me to expand the original program to work with the popular ZIP
  17. and ARJ formats as well as LZH.
  18.  
  19. The current version of the program should work with archives
  20. generated by:
  21.                 PKZIP version 2.04g,
  22.                 LHA   version 2.13,         
  23.                 ARJ   version 2.41 and their predecessors.
  24.  
  25. NOTE: This program will not split up multi-volume or spanned archives - 
  26. attempting to do so can cause unpredictable results!
  27.  
  28. USAGE: Typing LSIZE alone will produce a help screen.
  29.     
  30. Command Line:  LSIZE  SourceFileName  [TargetFileNamePrefix]  MaxSize
  31.     
  32.         where  SourceFileName = name of the archive to be broken up.
  33.               TargetFileNamePrefix = prefix of files to be created.
  34.                           = [defaults to source name].
  35.               MaxSize = maximum size(in bytes) of each output file.
  36.                    = also accepts sizes: 1.44M, 720K, 1.2M, 360K.
  37.                 
  38. EXAMPLES:  To split up a file called YEAR.ZIP into files that will each
  39. fit onto 720K floppy disks.
  40.                  Type:  LSIZE YEAR.ZIP  720K
  41. This would produce a number of smaller files called YEAR1.ZIP, YEAR2.ZIP,
  42. YEAR3.ZIP, ...and so on.
  43.  
  44.         To split up a file called BIG.ARJ into smaller files each called
  45. SMALLn.ZIP with a max size of 1.44M.
  46.                        Type LSIZE BIG.ARJ SMALL 1.44M
  47.  
  48. Fairly straight forward - heh?
  49.  
  50. A FEW MORE THINGS:  LSIZE will never overwrite files without your permission.
  51. Should a file be placed in a position that it could be overwritten you
  52. will be prompted: overwrite? (Y/N/G)
  53.     Y means YES overwrite!
  54.     G means YES overwrite this file and any other files you need to.(global)
  55.     Any other response means "NO! DO NOT overwrite!" at which point the
  56.     program is terminated and you will be returned to the DOS prompt.
  57.     
  58.     LSIZE can only handle archives with no more than 4000 files.
  59.  
  60. LEGAL STUFF:
  61.     I am releasing this program into the public domain.  There are no 
  62.     licenses to buy or fees to pay.  (Of course, if you insist -you can
  63.     send a donation to the address below!)  There are also no guarantees 
  64.     of any kind.  Use this program at your own risk.  The only thing I 
  65.     ask is that you send your comments, suggestions, or bug reports 
  66.     to me at:
  67.     
  68.     L.S. Lewis                               email to:
  69.     15 Marigold Lane              OR         larrylw@eden.rutgers.edu
  70.     Willingboro, NJ 08046-2812  
  71.  
  72.  
  73.  
  74. LSIZE HISTORY
  75. -----------------------------------------------------------------------------
  76. Ver 2.20   11-10-93
  77. ----------------------------------------------------------------------------
  78. Changed from small to compressed memory model.
  79. Fixed bug that caused the first file sized from an ARJ to report the wrong
  80. file size.
  81.  
  82.  
  83. Ver 2.10    9-24-93
  84. ------------------------------------------------------------------------
  85. ->Fixed file_name length bug.  File names longer than 16 chars bombed the 
  86. program.  Any file with a path is usually this length.
  87. ->Updated program for use with ZIP 2.04g, ARJ 2.41a, and LHA 2.13.
  88. ->Updated screen I/O to handle longer file names
  89. Note: LSIZE won't work with multi-volume zips(spanning)!
  90.  
  91.  
  92. Ver 2.00   12-30-92
  93. ----------------------------------------------------------------------
  94. ->Added code to handle ZIP 1.10 and ARJ 2.31 archive formats.
  95. -> LSIZE now handles LZH/ARJ/ZIP formats.
  96. ->Updated some screen I/O.
  97. ->Toyed with idea of compiling the code for i386 for better speed.
  98. ->Kept 8086 instruction set for full compatibility.
  99.  
  100. Ver 1.20       6-06-92
  101. ------------------------------------------------------------------
  102. Path handling has been improved.  The output prefix parameter has been
  103. made optional.  The default is the source name.  The prefix is truncated
  104. if it exceeds 7 letters.   
  105.  
  106.  
  107. Ver 1.10   5-15-92
  108. -------------------------------------------------------------
  109. Lsize now reports each file's size as it writes.
  110. The final size of each output file is also reported.
  111. The program now recognizes 1.44M, 1.2M, 720K, and 360K as maximum sizes
  112. on the input line.
  113.  
  114.  
  115. Ver 1.0     1-92
  116. ------------------------------------------------------------------
  117. The original program.
  118.  
  119.