- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Re: I64 8.2 Zip
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-14-2005 02:44 AM
тАО10-14-2005 02:44 AM
Re: I64 8.2 Zip
zip "-V" = save VMS file attributes
whereas
unzip "-V" = retain VMS version numbers
Unzip automatically uses the VMS file attributes if present. [except in some obsolete versions of unzip which don't support the file attributes properly]
==
If you want to minimise the size of a Zip archive, then ideally don't use BACKUP as well - just use zip "-V" on the source files.
If you do need to use BACKUP, then add /NOCRC and /GROUP=0 to reduce the overhead.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-14-2005 02:48 AM
тАО10-14-2005 02:48 AM
Re: I64 8.2 Zip
Zip -V preserves RMS file attributes.
UnZip -V retains file version numbers.
UnZip -V makes sense after Zip -w, which
causes Zip to store the file version numbers
in the archive. For example:
alp $ zip test.zip test.html;*
zip warning: first full name: ALP$DKA0:[SMS]TEST.HTML;1
zip warning: second full name: ALP$DKA0:[SMS]TEST.HTML;2
zip warning: name in zip file repeated: test.html
zip error: Invalid command arguments (cannot repeat names in zip file)
alp $ zip -w test.zip test.html;*
adding: TEST.HTML;5 (deflated 34%)
adding: TEST.HTML;4 (deflated 34%)
adding: TEST.HTML;3 (deflated 34%)
adding: TEST.HTML;2 (deflated 34%)
adding: TEST.HTML;1 (deflated 34%)
alp $ set default [.test.x]
alp $ create /dire []
alp $ unzip -V [--]test.zip
Archive: ALP$DKA0:[SMS]TEST.ZIP;1
inflating: test.html;5
inflating: test.html;4
inflating: test.html;3
inflating: test.html;2
inflating: test.html;1
alp $ delete *.*;*
alp $ unzip [--]test.zip
Archive: ALP$DKA0:[SMS]TEST.ZIP;1
inflating: test.html
replace test.html? [y]es, [n]o, [A]ll, [N]one, [r]ename:
[...]
Once an archive has been created with Zip -V,
nothing special needs to be done at UnZip
time to get the file attributes restored.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-14-2005 03:00 AM
тАО10-14-2005 03:00 AM
Re: I64 8.2 Zip
example, SET FILE /ENTER, and Zip will see two
different files, and so on.
"Zip -V -w" is nice, but it's not a good
substitute for BACKUP /IMAGE.
/NOCRC and /GROUP=0 are probably reasonable.
Zip + UnZip will do a simple CRC check.
What could go wrong?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-14-2005 03:16 AM
тАО10-14-2005 03:16 AM
Re: I64 8.2 Zip
> nothing special needs to be done at UnZip
> time to get the file attributes restored.
That's unless you count running UnZip on a VMS
system as "special", of course.
Restore a "Zip -V" archive on a non-VMS system,
and the more exotic file formats (indexed,
variable-length records, and so on) will
probably look corrupt. Stream_LF and fixed-512
do pretty well.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-14-2005 04:50 AM
тАО10-14-2005 04:50 AM
Re: I64 8.2 Zip
Ms Lucinda Perry
- « Previous
- Next »