The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com



UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
spam and protection? Bashar Security 10 02-11-2007 12:33 PM
File password protection/encryption rdudejr AIX 2 07-09-2006 07:43 PM
Protection code of file/directory zp523444 UNIX for Advanced & Expert Users 3 12-12-2005 11:24 PM
Does unix has password protection for zip files? p_prathaban UNIX for Advanced & Expert Users 6 02-19-2004 10:46 AM
protection schemes mattyboy Filesystems, Disks and Memory 4 01-13-2004 10:44 PM

 
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1 (permalink)  
Old 08-21-2008
veeru4all veeru4all is offline
Registered User
  
 

Join Date: Aug 2008
Posts: 2
Syntaxt to zip a file with password protection

Hi Experts,

I am an SAP ABAP developer and compleatly stranger to unix and I need a help to extend a small peice of code.

Our requirement is to zip a file with password protection in a specified directory. Following is the code I am using to zip a file ZZZZ.TXT.

Here YYYY = is the path where the file is stored.
ZZZZ is the name of the file.

cd /YYYY;zip -r ZZZZ.zip ZZZZ.TXT

Please let me know the syntax to create the zip file with password protection. I saw some where that we can use "-P password" to make the zipfile password protected, but I am not sure where/how exactly it can be used within the above syntax. Although -P is not safe, it is OK with us, as we are triggering this command from SAP.

This is quite urgent for us.

Thanks in advance.
Veerendranath Maddula.


 

Bookmarks

Tags
password, zip

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 01:56 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0