home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
AmigActive 13
/
AACD13.ISO
/
AACD
/
Utilities
/
arc2arc
/
arc2arc.doc
next >
Wrap
Text File
|
2000-08-16
|
3KB
|
93 lines
Arc2Arc 2.5 - by Rolf Max Rotvel
DESCRIPTION
Arc2Arc is an unarchive format converter.
Unlike the typical lha -> lzx converters you can configure this one to
convert to and from any archive format you like.
Examples: gz -> zip, zip -> lzx, tgz -> lha and of course lzx -> lha :-)
Arc2Arc also copies any filenote from the original archive to the new. And
doesn't mess in any way with the original files.
INSTALLATION
Copy the script to rexx:
CONFIGURATION
Load the script into your text editor and have a look at the configuration
section.
The first word of the dearchiver description strings is the archive
suffix. Arc2Arc uses this to figure out which dearchiver to launch. You
don't have to worry about case, but you must include all the dots (Eg:
.LHA, .TAR.GZ, etc).
It's important that you think a bit about the order of the list. If you
list .GZ before .TAR.GZ, .tar.gz archives will be recognized as straight
.gz archives. So childpatterns must be listed before parentpatterns.
The rest of the dearchiver string is the actual command including options.
If the dearchiver requires redirection (Like GZip) you must include the
'>' sign at the end of the dearchiver string.
The first word of the archiver strings is the archive type. This must be
the same as the suffix created by the archiver, but without any dots (Eg:
LHA, LZX). Case isn't important
The rest of the archiver string is the actual command including options.
Tmpdir is the directory where Arc2Arc creates it's work directory. Keep
this in t: if you have enough ram.
USAGE
rx rexx:arc2arc.rexx <arctype> filename
<arctype>
is the name of the archive format you want to convert to. This should
match one of the archivers you have configured (But again, case doesn't
matter).
If you don't specify this Arc2Arc will use the default archiver (arc.1).
filename
is the name of the archive you want to convert.
Examples:
rx arc2arc ZIP dl:test.lha
This should create the file dl:test.zip
rx arc2arc dl:test.zip
Assuming that LZX is your default archiver this should create the file
dl:test.lzx
The original files are not deleted.
NOTES
Arc2Arc doesn't delete it's work directory, just the contents of it. This
is because some archivers doesn't release their lock on this directory
properly
COPYRIGHT
No copyright. Do whatever you want with this.
DISCLAIMER
It's all your fault :-)
AUTHOR
Please send send any comments you might have to me:
rolfrotvel@bigfoot.com
HISTORY:
2.5 - First release.