LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-08-2012, 11:39 AM   #1
nishanthp82
LQ Newbie
 
Registered: Nov 2011
Posts: 15

Rep: Reputation: Disabled
PKZIP vs zip


Hi
our Linux platform does not support pkzip.
iam trying to convert pkzip used in the scripts to zip.
So,anybody knows what will be the equivalent options for zip, for the below pkzip options?

pkzip -m
pkzip -p
pkzip -m -p

for ex:
pkzip $ARCFILE -m -p $FILEPATH$LOCALFILE
pkzip $FILE.zip -m $FILE
Thanks for your reply
 
Click here to see the post LQ members have rated as the most helpful post in this thread.
Old 03-08-2012, 12:02 PM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 17,956

Rep: Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693
Quote:
Originally Posted by nishanthp82 View Post
Hi
our Linux platform does not support pkzip.
Wrong. PKZIP is supported on Linux, since kernel 2.4. Visit the PKzip website.
Quote:
iam trying to convert pkzip used in the scripts to zip. So,anybody knows what will be the equivalent options for zip, for the below pkzip options?

pkzip -m
pkzip -p
pkzip -m -p

for ex:
pkzip $ARCFILE -m -p $FILEPATH$LOCALFILE
pkzip $FILE.zip -m $FILE
Thanks for your reply
Curious as to why you can't read the man page for the zip command, which tells you which options do what, and compare that to the pkzip options. If you looked, the -m and -p options are identical on both. So change the command from pkzip to zip.
 
2 members found this post helpful.
Old 03-08-2012, 01:10 PM   #3
nishanthp82
LQ Newbie
 
Registered: Nov 2011
Posts: 15

Original Poster
Rep: Reputation: Disabled
sorry....and Thanks for your reply.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
pkzip for linux or compatible cygnus-x1 Linux - Software 4 08-20-2007 10:05 PM
PKZIP Tool luggw1 Linux - Software 2 09-12-2003 10:54 AM
execute pkzip.exe from a php script cuboctahedron Linux - General 7 04-24-2003 09:14 AM
PKZIP wont load/work cam99 Linux - Newbie 7 01-14-2003 08:08 PM
Problems with directories when using a program that was zipped by PKzip nocternalone Linux - Software 0 03-28-2002 08:59 AM


All times are GMT -5. The time now is 07:15 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration