Short: Pack using XPK, adaptive, recursive Author: wepl@whdload.org (Bert Jahn) Uploader: wepl@whdload.org (Bert Jahn) Version: 1.1 Type: util/pack this program will compress files using the XPK system. multiple pack modes can be specified, all of them will tested and the one with the best compression factor will be used. xPackBest can recursively compress a directory tree, optionally only files which match a specified pattern. usage: xPackBest Input/A,Modes/M/A,MinRatio/K/N,Pattern/K Input/A data to compress, if a file only this file will be packed, if a directory the whole tree will be packed recursively Modes/M/A mode to use for compression, contains of the name of the XPK sublib and an integer value separeted with a dot, e.g. SHRI.100 MinRatio/K/N minimum of compression ratio in percent that a file will be saved, default is 3% which means that the filesize must be reduced by at least 3% Pattern/K standard AmigaDOS pattern specifing files in recursive mode to work on example: that packs all diskimages of my whdload installed games (the intention to write this program ;-) xPackBest HD42:Games MASH.100 SQSH.100 Pattern=disk.[0-9] misc: - the compression uses a task priority of -1 version 1.0 (27.04.01) - initial release version 1.1 (08.05.01) - ^C support added - compressing progress display added May the source be with you... ============================= Archive contents ============================= Original Packed Ratio Date Time Name -------- ------- ----- --------- -------- ------------- 1389 374 73.0% 19-May-98 22:03:30 +ntypes.i 6421 2436 62.0% 17-Jan-99 15:21:50 +devices.i 6666 2329 65.0% 29-Jun-00 00:41:16 +dosio.i 3355 1451 56.7% 04-Jan-00 00:42:04 +error.i 8929 2539 71.5% 25-Jun-99 00:13:32 +files.i 9246 3195 65.4% 25-Jun-99 00:13:34 +strings.i 12077 3488 71.1% 08-May-01 17:47:04 +xpackbest.asm 2612 1730 33.7% 08-May-01 17:45:30 xPackBest 1424 753 47.1% 08-May-01 17:47:58 xPackBest.readme -------- ------- ----- --------- -------- 52119 18295 64.8% 09-May-101 04:09:44 9 files