Subject: | |
From: | |
Reply To: | |
Date: | Wed, 2 Oct 2002 18:50:12 -0700 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
An "all-MPE" solution would be:
:xeq tar.hpbin.sys 'cvzf ./TARZFILE /SYS/PUB/SOMEFILE ./MYFILE'
The "cvzf" breaks down:
c -- create
v -- verbose (list files archived)
z -- compress (ala ".Z" used by "compress")
f -- archive filename (used to specify the tarfilename)
The filename arguments to tar will all be interpreted from a POSIX
perspective, so I find it least confusing to simply use the "escaped
syntax" when dealing with HPBIN.SYS utilities from the CI's command
line. From the POSIX shell it's simpler to use because that's the
environment for which the syntax is optimized.
When sending this type of file to an environment with long filenames,
I'd rename it something ending in ".tar.Z" to follow the usual
conventions. If you do so, WinZip will recognize that it's compressed,
open it and ask if you want to open the enclosed tar archive. It's very
painless.
In addition to .zip and other PC-oriented file extensions, WinZip
recognizes and handles .tar .tar.Z .taz .tar.gz .tgz and other file
formats and related filename extensions. Note that .taz is an alias for
..tar.Z and .tgz is short for .tar.gz (for environments that support 8.3
filenames).
--
Jeff Woods
[log in to unmask]
[log in to unmask]
Quintessential School Systems
* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
|
|
|