Re: forgetting my DCL: what am I missing?
- From: helbig@xxxxxxxxxxxxxxxxxxxxxxxx (Phillip Helbig---remove CLOTHES to reply)
- Date: Tue, 7 Feb 2006 10:56:56 +0000 (UTC)
In article <43E801DA.1703687F@xxxxxxxxxxx>, David J Dachtera
<djesys.nospam@xxxxxxxxxxx> writes:
Phillip Helbig---remove CLOTHES to reply wrote:
In article <43E2C60F.DA49B746@xxxxxxxxxxx>, David J Dachtera
<djesys.nospam@xxxxxxxxxxx> writes:
Of course, there is a version of ZIP with a real VMS CLI and one
without.
The CLI version supports the UN*X-like syntax as well.
Almost. It does if the first character is "-". However, as the help
screen says, this is not necessarily the case with the unix syntax. In
that case, it gives an error.
Hhmmm... Don't see any options that don't begin with "-".
What am I missing?
As I said in another post, I meant UNZIP.
Usage: unzip [-Z] [-opts[modifiers]] file[.zip] [list] [-x xlist] [-d exdir]
Default action is to extract files in list, except those in xlist, to exdir;
file[.zip] may be a wildcard. "-Z" => ZipInfo mode (`unzip "-Z"' for usage).
=> define foreign command symbol in LOGIN.COM: $ unzip :== $dev:[dir]unzip.exe
-p extract files to pipe, no messages -l list files (short format)
-f freshen existing files, create none -t test compressed archive data
-u update files, create if necessary -z display archive comment
-x exclude files that follow (in xlist) -d extract files into exdir
modifiers: -q quiet mode (-qq => quieter)
-n never overwrite existing files -a auto-convert any text files
-o overwrite files WITHOUT prompting -aa treat ALL files as text
-j junk paths (don't make directories) -v be verbose/print version info
"-C" match filenames case-insensitively "-L" make (some) names lowercase
"-X" restore owner/protection info "-V" retain VMS version numbers
"-M" pipe through "more" pager
Examples (see unzip.doc for more info):
unzip data1 -x joe => extract all files except joe from zipfile data1.zip
unzip "-V" foo "Bar" => must quote uppercase options and filenames in VMS
unzip -fo foo vms.c => quietly replace existing vms.c if archive file newer
So with unzip test.zip testa.txt -dsomedir one has the unix-style syntax
but it does not work. The undocumented unzip -dsomedir test.zip
test1.txt will work, though.
.
- Follow-Ups:
- Re: forgetting my DCL: what am I missing?
- From: Phillip Helbig---remove CLOTHES to reply
- Re: forgetting my DCL: what am I missing?
- From: Phillip Helbig---remove CLOTHES to reply
- Re: forgetting my DCL: what am I missing?
- From: David J Dachtera
- Re: forgetting my DCL: what am I missing?
- From: JF Mezei
- Re: forgetting my DCL: what am I missing?
- References:
- Re: forgetting my DCL: what am I missing?
- From: Phillip Helbig---remove CLOTHES to reply
- Re: forgetting my DCL: what am I missing?
- Prev by Date: Re: forgetting my DCL: what am I missing?
- Next by Date: Re: vaxstation 4000vlc
- Previous by thread: Re: forgetting my DCL: what am I missing?
- Next by thread: Re: forgetting my DCL: what am I missing?
- Index(es):
Relevant Pages
|