- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- problem with PKZIP
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
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
тАО02-10-2006 08:08 PM
тАО02-10-2006 08:08 PM
problem with PKZIP
My proble is when I am creating a zip with name abc it is created by name "abc".zip and after that I cannot use that file name to remove , move ,copy the file name.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-11-2006 02:59 AM
тАО02-11-2006 02:59 AM
Re: problem with PKZIP
Can you do with # pkzip abc.zip ? You didnt give .zip extension while creating abc.
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-11-2006 04:06 AM
тАО02-11-2006 04:06 AM
Re: problem with PKZIP
pkzip creates files with a .zip extension. That is what it does. You can rename the file after its done.
Most Unix machines will be able to interpret and re-inflate the zip files.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-11-2006 05:41 AM
тАО02-11-2006 05:41 AM
Re: problem with PKZIP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-21-2006 10:52 AM
тАО02-21-2006 10:52 AM
Re: problem with PKZIP
From pkware support:
The quotes are being used due to the initiation of the PKZIP command line stubs (pkzip and pkunzip). The proper PKZIP command would be as follows:
pkzipc -add -max
==========
Since then, I avoid the "stubs" and call the executable directly:
root@hpd2ts02|[/root/test] > ll
total 0
-rw------- 1 root sys 0 Feb 21 16:24 a.txt
-rw------- 1 root sys 0 Feb 21 16:24 b.txt
-rw------- 1 root sys 0 Feb 21 16:24 c.txt
root@hpd2ts02|[/root/test] > /opt/pkware/pkzip/bin/pkzipc -version
PKZIP(R) Server Version 8 ZIP Compression Utility for HPUX
Copyright (C) 1989-2005 PKWARE, Inc. All Rights Reserved. Registered Version
PKZIP Reg. U.S. Pat. and Tm. Off. Patent No. 5,051,745
Patent Pending
Version 8.40.66
root@hpd2ts02|[/root/test] > /opt/pkware/pkzip/bin/pkzipc -add abc.zip
PKZIP(R) Server Version 8 ZIP Compression Utility for HPUX
Copyright (C) 1989-2005 PKWARE, Inc. All Rights Reserved. Registered Version
PKZIP Reg. U.S. Pat. and Tm. Off. Patent No. 5,051,745
Patent Pending
Using default compression method
Creating .ZIP: abc.zip
Adding File: a.txt Storing ( 0.0%), done.
Adding File: b.txt Storing ( 0.0%), done.
Adding File: c.txt Storing ( 0.0%), done.
root@hpd2ts02|[/root/test] > ll
total 16
-rw------- 1 root sys 0 Feb 21 16:24 a.txt
-rw------- 1 root sys 328 Feb 21 16:25 abc.zip
-rw------- 1 root sys 0 Feb 21 16:24 b.txt
-rw------- 1 root sys 0 Feb 21 16:24 c.txt
root@hpd2ts02|[/root/test] > /opt/pkware/pkzip/bin/pkzipc -view abc.zip
PKZIP(R) Server Version 8 ZIP Compression Utility for HPUX
Copyright (C) 1989-2005 PKWARE, Inc. All Rights Reserved. Registered Version
PKZIP Reg. U.S. Pat. and Tm. Off. Patent No. 5,051,745
Patent Pending
Viewing .ZIP: /root/test/abc.zip
Length Method Size Ratio Date Time CRC-32 Mode Name
------ ------ ---- ----- ---- ---- ------ ---- ----
0B Stored 0B 0.0% 02/21/2006 16:24 00000000 0600 a.txt
0B Stored 0B 0.0% 02/21/2006 16:24 00000000 0600 b.txt
0B Stored 0B 0.0% 02/21/2006 16:24 00000000 0600 c.txt
------ ---- ----- ----
0B 0B 0.0% 3
root@hpd2ts02|[/root/test] > /opt/pkware/pkzip/bin/pkzipc -extract abc.zip
PKZIP(R) Server Version 8 ZIP Compression Utility for HPUX
Copyright (C) 1989-2005 PKWARE, Inc. All Rights Reserved. Registered Version
PKZIP Reg. U.S. Pat. and Tm. Off. Patent No. 5,051,745
Patent Pending
Extracting files from .ZIP: /root/test/abc.zip
PKZIP: (W7) Warning! File: a.txt already exists.
Overwrite (
Unstoring: a.txt OK
Unstoring: b.txt OK
Unstoring: c.txt OK
Hope this helps,
John