home *** CD-ROM | disk | FTP | other *** search
- /*----------------------------------------------------------------------*/
- ArcAdd.dopus5 v1.3
-
- by Dave Clarke (4wd@connexus.apana.org.au)
-
- originally based on scripts by John Crookshank
-
- /*----------------------------------------------------------------------*/
-
-
- Disclaimer:
- ~~~~~~~~~~~
- If this software does something that you think has resulted in the
- complete annihilation of your system, a colour change in the red seas of
- Mars, unpredictable projectile vomitting, a cessation of hostile activity
- everywhere (usually by the application of nuclear weapons), or works like
- it was supposed to, then I accept no responsibility :-)
-
-
- Description:
- ~~~~~~~~~~~~
- Adds selected files to a 'list' of files to archive, then calls an archiver
- to do the archiving.
-
- You can select files across different volumes, even floppies, for archiving
- into a single archive.
-
-
- Requirements:
- ~~~~~~~~~~~~~
-
- To fully install and use the contents of this archive you will need the
- following:
-
- ARexx - part of AmigaDOS since release 2
- DirectoryOpus v5 - v5.11 minimum
- LhA - ubiquitous Amiga archiver, Stefan Boberg
- LZX - Latest byte cruncher, J. Forbes and Co., Data Compression
- Technologies.
- ZIP - V1.9h, Mark Adler + others
-
-
- Installation:
- ~~~~~~~~~~~~~
-
- Copy ArcAdd.dopus5 into DOpus5:Arexx/
-
- Then set up a couple of buttons as follows:
-
- Name: Add to list
- Function:
- ARexx DOpus5:ArcAdd.dopus5 {Ql} {Qp}
-
- Flags: Run Asynch
-
-
- Name: Archive List
- Function:
- ARexx DOpus5:ArcAdd.dopus5 {Ql} {Qp} ARC
-
- Flags: Run Asynch
-
-
- Optional extra Buttons:
-
- Name: Clear List
- Function:
- Command Delete T:infiles.txt
-
-
- Name: Edit List
- Function:
- ARexx DOpus5:ArcAdd.dopus5 {Ql} {Qp} EDIT
-
- Flags: Run Asynch
-
-
- Find the line in the script that goes 'Copy SYS:Useful/'||archiver||' T:' and
- edit to reflect your path to LhA, ZIP, and LZX.
-
- NOTE: See attendant button config for the general idea, ArcAdd_Buttons
-
-
- What it does:
- ~~~~~~~~~~~~~
-
- The first button grabs all the selected files/dirs in the source lister
- and adds them to a list, T:infiles.txt, giving you a running total after
- you've added some.
-
- The Second button reads in the list and after asking you the archive name,
- and the archive type, starts adding them into the archive. You'll be
- notified when archiving has finished.
-
- -------------------------------------------------------------------------
- NOTE: If no source lister is available when the Archive function is
- called, then the script will quietly exit. ie. Nothing will happen.
- -------------------------------------------------------------------------
-
- If you selected files that were on floppies that have since been removed,
- a System Requester will pop up asking for that volume to be inserted.
-
-
- Feedback:
- ~~~~~~~~~
-
- I can be reached in the following ways:
-
- Usenet: 4wd@connexus.apana.org.au
-
- MAXsNET: 86:303/213 (Dave Clarke)
- (MAXsNET is the Australian network originally started
- for MAXsBBS support)
-
-
- Distribution:
- ~~~~~~~~~~~~~
-
- "Use her, abuse her, she can take all that you've got." - Iron Maiden
-
- I hereby proclaim a new generation of software:
-
- AW - "ApathyWare" - I don't care what you do with it, and even the software
- doesn't care what you do with it :)
-
-
- History:
- ~~~~~~~~
- V1.0 - First one, it worked.
-
- V1.1 - Now checks for a source lister before archiving.
- - You can now select whether to use LZX or LhA.
-
- V1.2 - If EDIT keyword is used in calling line, (i.l.o. ARC), then
- the command 'ed' will be called on the archive list file.
- - Now doesn't check for a Source lister, (maybe it will again
- when the ARexx interface has stabilized :)
-
- V1.3 - Added ZIP support.
- - Uses DOpus5.11 STEMs for grabbing files and dirs.
-