home *** CD-ROM | disk | FTP | other *** search
-
- LZZ - making archives smaller
- by Arthur Hagen in 1991
- No rights reserved!
-
-
- When archiving files on the Amiga, LZ has become the most widely used
- program, both because of its speed, and the size of the resulting archives.
- Now LZ (versions 1.92 and above) even has a new (for Amiga) packing method,
- namely the -lh5- archiving method, which is turned on by the -2 option when
- using LZ. The -lh5- compression method usually packs even better than the
- old -lh1- (modified Lempel-Ziv-Huffman) encoding. Usually, i.e... I was
- terrified with the new packing method, and thought I could save some space
- on one of my hard-disks. I repacked a directory full of digitized pic-
- tures, and found that the resulting archive was 200k BIGGER than when using
- the old compression method! I also found out that (in addition to digi-
- tized pictures,) -lh5- does a poorer job on some small files and small
- icons than -lh1-. I wish LZ always packed using the BEST algorithm.
-
- Well - LZ has no way of selecting the best packing method itself, so I
- wrote a couple of scripts that handle this for me... The script to use is
- "LZZ", which automatically finds out what packing method that should be
- applied to any file. Note that this script will run about 3 times as slow
- as the original LZ, so unless you have fast machines and/or plenty of spare
- machine time, this script may be nothing for you at all. Also note that
- for maximum speed, the files "C:Eval", "C:Sort", "C:Execute" and "C:Delete"
- should be made resident with the "Resident" command. Also make sure that
- the "T:" and "ENV:" directories are assigned somewhere in RAM, and that the
- program LZ (© 1990-1991 Xenomiga Technologies) also runs from RAM (To do
- this, you could add RAM: at the start of the "Path" line in your S:Startup-
- Sequence, and copy LZ to RAM: before you use LZZ).
-
-
- Usage:
-
- LZZ ARCHIVE/A,PAT/A,DEEP/S,VERBOSE/S
-
- Here "ARCHIVE" is the name of the archive to create or add to without the
- ".lzh" postfix. "PAT" is the pattern of the file(s) to be added - Amiga
- wildcards supported. "DEEP" is a switch that enables automatic archiving
- of subdirectories and their contents. "VERBOSE" is a switch that gives you
- some extra information during archiving.
-
- Example usage:
-
- LZZ AllFiles #? DEEP
- (Will add all files and sub-dirs to the archive Allfiles.lzh)
-
- LZZ DocFiles #?.DOC VERBOSE
- (Will add all doc files to DocFiles.lzh while displaying info)
-
- LZZ MyArc Files ~(#?.info)
- (Will add all files except icons to the archive Files.lzh)
-
-
- Enjoy,
- *Art
-