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

util/rexx/ADF2DMS.lha

Mirror:Random
Showing:m68k-amigaosppc-amigaosppc-morphosi386-arosi386-amithlonppc-warpupppc-powerupgeneric
No screenshot available
Short:Convert many ADF files to DMS at once
Author:chaoticamiga at yahoo.fr
Uploader:chaoticamiga yahoo fr
Type:util/rexx
Requires:Unzip, XAD, DMS, SD0:, rexxdossupport.library
Architecture:m68k-amigaos
Date:2002-12-10
Download:http://aminet.net/util/rexx/ADF2DMS.lha - View contents
Readme:http://aminet.net/util/rexx/ADF2DMS.readme
Downloads:8628

/*****************************************************
** ADF2DMS.rexx 1.01 -- Public domain
**  Convert directory-Zipped ADF files into DMS files
**
** Description:
**
**  This Arexx will take all ZIP'ed files in a directory
**  (see SourceDir below), unarchive them (see TempDir and
**  TempDirNoSlash below), look for adf files, uncompress them
**  to a temporary virtual (or real) disk (SD0: is hardcoded, but
**  you can change this via search/replace, just use a device that
**  has its geometry compatible with standard floppies) and call
**  DMS to compress them into another directory (see DestDir below).
**  If errors are detected, they are logged (see LogFileName below)
**  and the ZIP'ed files placed into a special directory (see ErrorDir
**  below). The resulting DMS files are also checked against a minimal
**  size (see SizeLimit below) as some floppies don't seem to be process-
**  able with DMS). Note that having an error logged does not mean there
**  is no DMS file produced, so double check this).
**  If more than one ADF file is found in the archive, the resulting DMS
**  files are put under a subdirectory with the archive's name.
**  If no error is detected, the ZIP file is deleted.
**
**  Note: the default SD0: device uses the statram.device, check aminet!
**
** Usage:
**
**  copy this script to your REXX: directory
**  make sure you installed the required components:
**    Unzip, XAD, DMS, SD0: disk, rexxdossupport.library
**  edit the variables (directory names) below to suit your installation.
**  type in a shell: rx ADF2DMS
**  get a cup of coffee.
**
**  Contact:
**   chaoticamiga at yahoo.fr
**
**  Legal status:
**   This arexx script is public domain. Do whatever you want with it. You
**   can even try to sell it if you find someone willing to pay for it :-)
**
**  Available variations (check out the usage by yourself, it's quite obvious)
**   adface2dms.rexx  will do the same for ACE'd adf files
**   adz2dms.rexx  will process gzip'ed adf files. Only one adf per archive for
**                 this one obviously. It expects files to be named blah_adf.gz
**                 so you might want to edit it to support blah.adz...
**
** History:
**  V1.01 : No longer requires that * is enabled as a wildcard in DOS
**  V1.00 : Initial release.
**
** Future:
**  I don't really use this program anymore. But if you want an extra feature
(like
**  command-line arguments via rexxdossupport.library's ReadArgs()), you can
**   1) code it yourself (and release it, please leave this in public domain)
**   2) mail me and ask for it (I don't guarantee I'll do it but at least I
don't bite)
*/


Contents of util/rexx/ADF2DMS.lha
 PERMSSN    UID  GID    PACKED    SIZE  RATIO     CRC       STAMP          NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
[generic]                 1338    2817  47.5% -lh5- 9dad Dec  5  2002 ADF2DMS/ADF2DMS.readme
[generic]                 2464    6065  40.6% -lh5- cdf9 Dec  5  2002 ADF2DMS/ADF2DMS.rexx
[generic]                 1276    3484  36.6% -lh5- af5f Dec  5  2002 ADF2DMS/adface2dms.rexx
[generic]                  908    2272  40.0% -lh5- 90d7 Dec  5  2002 ADF2DMS/ADZ2DMS.rexx
---------- ----------- ------- ------- ------ ---------- ------------ -------------
 Total         4 files    5986   14638  40.9%            Dec 10  2002

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