NAME xfdDecrunch 1.02 SYNOPSIS xfdDecrunch SOURCE/A,DEST,ALL/S,FORCE/S,CLONE/S,NODIRS/S, NOASK/S,LS=LINKSIMPLE/S,LP=LINKPRO/S DESCRIPTION xfdDecrunch unpacks crunched files. Kickstart V37+ is required. SOURCE specifies the file(s) that should be decrunched. Wildcards of any kind are supported. DEST is the file/drawer to save the result to. If SOURCE contains wildcards/is a drawer, DEST must be a directory. If it doesn't exist, it will be created. If SOURCE is a single file, DEST can be an existing directory or a (new) filename. In the first case, the old filename will be used in the new directory. Without DEST, the old files will be overwritten. ALL makes xfdDecrunch go through all subdirectories that exist in SOURCE. Note that these drawers are created in the same order in the DEST directory. If there exists a file with the name of a drawer to be created, files will be written to the parent drawer. If NODIRS is given, no subdirectories will be created and files from all drawers will be written to DEST. If DEST already exists, you will be asked if you want to overwrite the file. With FORCE, this request will be skipped. With CLONE, the decrunched files receive the same comments, creation dates and protection bits as the source files. Usually, when an error occurs while decrunching a file, xfdDecrunch asks if you want to continue with the next files or quit. With NOASK specified, this request will be skipped and decrunching continues automatically. With files that are crunched with an absolute address cruncher, you have two additional options: LINKSIMPLE and LINKPRO. The first one links a quite simple header to the decrunched data that simply copies the file to the required location and executes it. The second header is more complex. It tries to allocate the wanted memory area and works with overlays thus not needing any memory at all before allocating the desired area. This is absolutely system-friendly and should work even on machines with less RAM. EXAMPLES Shell> xfdDecrunch DH0:C/#? Decrunches all files in DH0:C. Shell> xfdDecrunch DF0:#? DH0:Temp ALL CLONE Decrunches all files on DF0: and saves them with the original attributes to DH0:Temp. Shell> xfdDecrunch DF2:Test DF1:Test FORCE Decrunches DF2:Test and overwrites DF1:Test without asking the user. HISTORY xfdDecrunch 1.02 - Totally removed arp.library and Kick 1.3 support. It was impossible to implement all OS 2 features. - xfdDecrunch now creates the same drawer hierarchy in the destination drawer as given in the source drawer (with ALL option). - Source and destination lengths are printed now. - Added NODIRS and NOASK options. - Added LINKSIMPLE and LINKPRO options. xfdDecrunch 1.01 - Fixed bug in CLONE routine. SetFileDate() has been called on Kick 1.3, but it's not available there! - Changed some internal stuff for the documented release of xfdmaster.library 33.2. xfdDecrunch 1.00 - First public release. COPYRIGHT xfdDecrunch is freely distributable for noncommercial use. AUTHOR Georg Hörmann Am Lahnewiesgraben 19 82467 Garmisch-Partenkirchen Germany