home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Dream 44
/
Amiga_Dream_44.iso
/
RiscPc
/
Utils
/
tarZ.arc
/
!TarZ
/
!run
< prev
next >
Wrap
Text File
|
1991-09-30
|
3KB
|
76 lines
| !tarZ : a simple archiver-enviroment
| produces obeyfiles with settypes and correct names.
| Calls tar and Compress for a unixcompatible compressed tar-file.
|
| Hope it will run under all Versions of Risc-OS
|
| If you have enough memory, try to start !tarZ from ramdisc, cause there
| it's faster
|
rmensure FPEmulator 0.00 error 0 FPEmulator must be loaded for Gawk
rmensure SharedCLibrary 0.00 error 0 SharedCLibrary must be loaded for Gawk
unset tarZ$use
if "%0"="" then set tarZ$use adfs:$ else set tarZ$use %0
echo <28><0><24><79><0><12>
echo simple scriptprogram to archive and extract with tar and compress
echo adding a file with filetypes to the archive
echo
echo syntax:
echo !tarZ [directory]
echo
echo where directory is the name of the directory, where !tarZ searches the data
echo default: adfs:$
echo
echo program overrides adfs:$.tarscrap !!!!
echo
echo copy the files or direcories to <tarZ$use>.files
echo
echo copy the archive to <tarZ$use>.archive
echo
echo archiving: doubleclick to !archive or say tarZ [archivename] on the commadline
echo extracting: doubleclick to !extract or say untarZ on the commadline
echo
echo compress needs 464K next memory and other programs 8K free memory
echo
echo bugs: !stronged before Version 1.00 must not be loaded while using !tarZ
echo cause !stronged before Version 1.00 causes bugs to compress
wimpslot -min 464K
*cdir <tarZ$use>.files
*cdir <tarZ$use>.archive
*unset tarZ$dir
*set tarZ$dir <obey$dir>
*unset alias$tarZ
*setmacro alias$tarZ <tarZ$dir>.commands.!archive
*unset alias$untarZ
*set alias$untarZ <tarZ$dir>.commands.!extract
<tarZ$dir>.do *Filer_OpenDir <tarZ$dir>.commands
<tarZ$dir>.do *Filer_OpenDir <tarZ$use>.files
<tarZ$dir>.do *Filer_OpenDir <tarZ$use>.archive
|
| realisation: MUFTI ( zrzm0111@helpdesk.rus.uni-stuttgart.de )
| spezial thanks to:
| Frank Lancaster ( port of tar and compress (c) copyrights of port to him )
| Paul Moore ( port of Gawk (c) copyrights of port to him )
| the authors of the orginal UNIX-programms
| the Author of do (Nicko van Someren ?)
| the Author of pathname
| who done the main work
|
| bugs:
| compress produces corrupt archives, when !StrongED before V 1.00 by
| Guttorm ('Armstrong') Vik is on the iconbar.
| You get no WARNING !!!!!.
| This corrupt archive can't be decompressed, if !StrongED is not on the
| iconbar.
| If you try to uncompress a valid archive when !StrongED before V 1.00 is
| on the Iconbar, this will fail.
| I don't know, if this is a error of !StrongED or a error of compress,
| but this only possible in a multitasking-operating-system that not uses
| memory-guard mechanisms ( like using the MEMC-Chip ).
|
| if you think, you know a solution to this problems, mail to me !
|
| !tarZ (without tar,compress and Gawk ( the rights of this software belongs to
| the authors ) is FREE-SOFTWARE
| (if 128 lines of scripts, 83 lines of gawk-rules can be called software... )