03-09-2009
just to confirm, when you look at
man zip
it doesn't have the -P option?
and when you try to use zip with the -P option, it doesn't work?
When I got a free hosting account with Joyent which uses the Bash shell, the zip program it comes with has the -P option in the man page.
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
How to set password in zip files under unix?
There are password protection available in various os.
Does unix has password protection for zip files?
Is zip and gzip command has it? (6 Replies)
Discussion started by: p_prathaban
6 Replies
2. AIX
Can it be done? Ive read in a few places that the crypt program no longer exists on AIX...if its do-able please tell me how. (2 Replies)
Discussion started by: rdudejr
2 Replies
3. UNIX for Dummies Questions & Answers
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... (3 Replies)
Discussion started by: veeru4all
3 Replies
4. Shell Programming and Scripting
Hi,
I'm working on Solaris 9 and i need to unzip a password protected zip, which i can do using
zip -Ppassword filename
however when i have done what i need to do with the file is to zip the file back up with a password. Zip on my system is version 2.3 and does not support this?
How can... (0 Replies)
Discussion started by: Pablo_beezo
0 Replies
5. AIX
Hi Guru,
I have assignment to create script to compress file as .ZIP with password.
I don't know the command line in AIX. It's very new for me.
I'm try to use zip or tar but I don't have any option for encrypt with password.
Please kindly suggest me.
Thank you very much.
Multidev (7 Replies)
Discussion started by: multidev
7 Replies
6. Shell Programming and Scripting
Hi Friends,
I execute a perl script with password as input but i wish not to print the password when i give the input. Instead when i provide the password it could be shown as "****" instead of original password. I know we can use Term::ReadKey or IO::Prompt for this, but just wanted to know if... (0 Replies)
Discussion started by: nmattam
0 Replies
7. Shell Programming and Scripting
HI,
Can we add password protection for attachment of .CSV file in below command or any alternative solution.
uuencode ../reports/gtsa_lmt_pb_rfs_daily.txt gtsa_lmt_pb_rfs_daily-$FILDTE.csv |mailx -s "gtsa_lmt_pb_rfs_daily" $MAILTO
Many thanks
regards,
Sampath (4 Replies)
Discussion started by: Sampath.Rachcha
4 Replies
8. Shell Programming and Scripting
How to create a file in UNIX which is password protected ?
Thanks and Regards,
Neeraj (5 Replies)
Discussion started by: neeraj617
5 Replies
9. UNIX for Dummies Questions & Answers
Hi
We send *.csv with sensitive data to our customers. Our customers open those files with Excel.
A new requirement is that we password protect those CSV files.
I thought to pack them with ZIP and assign a password to the archive.
But Solaris 10 can't encrypt ZIP files.
$ zip -P... (12 Replies)
Discussion started by: slashdotweenie
12 Replies
10. UNIX for Dummies Questions & Answers
Hi,
newbie to Linux,
is there another way to zip a file with a password other than using 'zip' command? (7 Replies)
Discussion started by: mined
7 Replies
LEARN ABOUT CENTOS
zipdetails
ZIPDETAILS(1) User Contributed Perl Documentation ZIPDETAILS(1)
NAME
zipdetails - display the internal structure of zip files
SYNOPSIS
zipdetaile [-v] zipfile.zip
zipdetails -h
DESCRIPTION
Zipdetails displays information about the internal record structure of the zip file. It is not concerned with displaying any details of the
compressed data stored in the zip file.
The program assumes prior understanding of the internal structure of a Zip file. You should have a copy of the Zip APPNOTE file at hand to
help understand the output from this program ("SEE ALSO" for details).
OPTIONS
-v Enable Verbose mode
-h Display help
By default zipdetails will output the details of the zip file in three columns.
Column 1
This contains the offset from the start of the file in hex.
Column 2
This contains a textual description of the field.
Column 3
If the field contains a numeric value it will be displayed in hex. Zip stored most numbers in little-endian format - the value
displayed will have the little-endian encoding removed.
Next, is an optional description of what the value means.
If the "-v" option is present, column 1 is expanded to include
o The offset from the start of the file in hex.
o The length of the filed in hex.
o A hex dump of the bytes in field in the order they are stored in the zip file.
TODO
Error handling is still a work in progress. If the program encounters a problem reading a zip file it is likely to terminate with an
unhelpful error message.
SEE ALSO
The primary reference for Zip files is the "appnote" document available at <http://www.pkware.com/documents/casestudies/APPNOTE.TXT>.
An alternative reference is the Info-Zip appnote. This is available from <ftp://ftp.info-zip.org/pub/infozip/doc/>
The "zipinfo" program that comes with the info-zip distribution (<http://www.info-zip.org/>) can also display details of the structure of a
zip file.
See also Archive::Zip::SimpleZip, IO::Compress::Zip, IO::Uncompress::Unzip.
AUTHOR
Paul Marquess pmqs@cpan.org.
COPYRIGHT
Copyright (c) 2011-2013 Paul Marquess. All rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
perl v5.16.3 2013-01-09 ZIPDETAILS(1)