AminetAminet
Search:
84520 packages online
About
Recent
Browse
Search
Upload
Setup
Services

util/arc/MKUnpack.lha

Mirror:Random
Showing:m68k-amigaosppc-amigaosppc-morphosi386-arosi386-amithlonppc-warpupppc-powerupgeneric
No screenshot available
Short:Automated File Unpacker for .lha, .lzh archives.
Author:cs9h3kmk at swansea.ac.uk (Mark Kiddell)
Uploader:cs9h3kmk swansea ac uk (Mark Kiddell)
Type:util/arc
Date:1995-12-12
Download:http://aminet.net/util/arc/MKUnpack.lha - View contents
Readme:http://aminet.net/util/arc/MKUnpack.readme
Downloads:1045

Architecture: m68k-amigaos

Unpack 1.0 by Mark Kiddell - 7th December 1995
==============================================

INTRODUCTION

There are plenty of utilities on the Aminet for extracting lha and lzh
archives, however none of them did quite what I wanted. So I wrote Unpack.


THE PROBLEM

Say you have a list of files in a directory, e.g.

Directory of "Downloads:Utils/Disk-Utils" on Today     01:44
 -----rwxd   Oct 26 95 15:19   14   6,278 FmsDisk.lha
 -----rwxd   Oct 26 95 15:19   69  34,474 NoErrors.lha
 -----rwxd   Oct 26 95 15:19  100  50,256 OKTAGON.LHA
 -----rwxd   Oct 26 95 15:19   57  28,436 PCDisk.lha
 -----rwxd   Oct 26 95 15:19  446 227,728 PFS.lha
 -----rwxd   Oct 26 95 15:19   20   9,404 PsuedoHD.lha
6 files - 0 dirs - 0 links - 706 blocks - 356576 bytes
Used 52600320 bytes  -  Free 56294912 bytes (12% free)

Now say that you want to unpack each of these.
Sometimes when unpacking, lha archives create their own directory and place
all of their files in it. However, some archives put all of there files in
the current directory, which can get messy.
If you were decompressing all of the above lha files at the same time, you
you could become quite confused which file belongs to each archive. (I do!)


THE SOLUTION

Enter the directory shown above and type MK:Unpack


WHAT IT DOES

For the above example, Unpack will create directories called FmsDisk,
NoErrors, OKTAGON, PCDisk, PFS, and PsuedoHD. Into each of these
directories, the relevant archive will be decompressed.
Once an archive has been decompressed, the .lha or .lzh file is moved
into the Unarchived directory (Created automatically).

The result is:

Directory of "Downloads:Utils/Disk-Utils" on Today     01:55
 d----rwxd     Today   01:54    2   (dir) FmsDisk
 d----rwxd     Today   01:54    2   (dir) NoErrors
 d----rwxd     Today   01:54    2   (dir) OKTAGON
 d----rwxd     Today   01:54    2   (dir) PCDisk
 d----rwxd     Today   01:54    2   (dir) PFS
 d----rwxd     Today   01:55    2   (dir) PsuedoHD
 d----rwxd     Today   01:55    2   (dir) Unarchived


Contents of util/arc/MKUnpack.lha
 PERMSSN    UID  GID    PACKED    SIZE  RATIO     CRC       STAMP          NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
[generic]                  142     249  57.0% -lh5- 1af2 Dec  6  1995 MKUnpack/fileunpack
[generic]                  151     242  62.4% -lh5- f6a6 Dec  7  1995 MKUnpack/fileunpack.info
[generic]                 5972    9256  64.5% -lh5- 3b6c Dec  7  1995 MKUnpack/merge
[generic]                  397     850  46.7% -lh5- 2fed Dec  6  1995 MKUnpack/merge.c
[generic]                 1430    3201  44.7% -lh5- 8c48 Dec  7  1995 MKUnpack/readme.doc
[generic]                  120     235  51.1% -lh5- 79b6 Dec  6  1995 MKUnpack/Unpack
---------- ----------- ------- ------- ------ ---------- ------------ -------------
 Total         6 files    8212   14033  58.5%            Dec 12  1995

Aminet © 1992-2024 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>