| Title: | AMIGA NOTES |
| Notice: | Join us in the *NEW* conference - HYDRA::AMIGA_V2 |
| Moderator: | HYDRA::MOORE |
| Created: | Sat Apr 26 1986 |
| Last Modified: | Wed Feb 05 1992 |
| Last Successful Update: | Fri Jun 06 1997 |
| Number of topics: | 5378 |
| Total number of notes: | 38326 |
Here's a ZOO question. My example is for VMS, but the same question
applies to the Amiga version.
I want to make ZOO store filenames with a shortened directory path.
On my VMS account, I will unpack a Usenet posting in shar format
in some subdirectory, and in doing so create yet another level of
directories. For example:
$set default [plouff.amiga.unpack]
$shar -u greatprogram.shr
[creating files in current directory]
[creates subdirectory [.doc] ]
[creates files in [.doc] ]
Now, when creating a ZOO archive, I can use
$zoo a greatprogram *.* [.doc]*.*
but this gives me archive contents like
[plouff.amiga.unpack]greatprogram.c
[plouff.amiga.unpack]greatprogram.dat
[plouff.amiga.unpack.doc]greatprogram.doc
What I really would like is
greatprogram.c
greatprogram.dat
[.doc]greatprogram.doc
Any ideas on how to do that? I haven't figured out how with either
VMS ZOO v2.0 or Amiga ZOO v2.01.
Wes
| T.R | Title | User | Personal Name | Date | Lines |
|---|---|---|---|---|---|
| 2716.1 | MAybe | WJG::GUINEAU | Thu Jul 06 1989 12:56 | 10 | |
ZOO probably expand's the file name ($parse system service). Try using the [] form of directory. ZOO a greatprogram []files [.doc]files This will probably do the same thing though. Maybe a concealed logical to the root of your shar directory? John | |||||
| 2716.2 | Well, I experimented... | LEVERS::PLOUFF | Glorious Blossoms -- Ah-ah-ah-choo! | Fri Jul 07 1989 11:22 | 13 |
In the VMS version,
ZOO a archivename always stores full directory path
ZOO -add archive name always stores flat file structure
There is a "dot" option which unpacks everything to the current
directory, but
ZOO a. archivename generates an error message
Any other suggestions? This is frustrating!
Wes
| |||||
| 2716.3 | Get the ZOO source code and... :-) | WJG::GUINEAU | Fri Jul 07 1989 13:56 | 0 | |
| 2716.4 | Better late than never | CRISTA::CAPRICCIO | Sure looks like plant food t'me | Tue Nov 14 1989 00:10 | 34 |
Just add a ":" to the "a" (add) command, ie;
$ zoo a: foo.zoo [.foofoo]one.file [-.two.file] ...
Zoo archiver, Version 2.01 (1988/08/25 12:43:57)
(C) Copyright 1988 Rahul Dhesi -- Noncommercial use permitted
Usage: zoo {acDeglLPTuUvx}[aAcCdEfInmMNoOpPqu1:/.@n] archive file
("zoo h" for help)
Choose a command from within {} and zero or more modifiers from within [].
E.g.: `zoo a save /bin/*' will archive all files in /bin into save.zoo.
(Please see the user manual for a complete description of commands.)
Commands in {} mean: |Modifiers in [] mean:
a add files | a show archive name(s) in listing
c update comments | A apply g or c to archive
D delete stored files | c add/list comments
e,x extract files | d extract/list deleted files too
g adj. gen. limit/count | dd extract/list only deleted files
l,L,v,V list filenames | E erase backup after packing
P pack archive | f fast add (no compression) or list
T fix archive datestamp | M move when adding (erase original)
u add only newer files | n add only files not already in archive
U undelete stored files | N send extracted data to Neverland
----------------------------- O don't ask "Overwrite?"
q be quiet p pipe extracted data to standard output
: don't store dir names /,// extract full pathnames
. pack to current dir I add filenames read from stdin
C show file CRC value +/- enable/disable generations
S overwrite newer files g list generation limits
P pack after adding @n start extract/list at position n
Novice usage: zoo -cmd archive[.zoo] file... where -cmd is one of these:
-add -extract -move -test -print -delete -list -update -freshen -comment
| |||||