I have a requirement to zip up a compressed file (yes! no joke) with a password & send it thru the network .. not sure if I can do it ..
It probably makes not too much sense zipping it again, but you could use
to encode the file with some cipher. The resulting key would serve as a password then. If it should indeed be compressed a second time just send it through gzip before. If your gzip refuses to cooperate (i could sympathize) use a stream:
I hope this helps.
bakunin
These 2 Users Gave Thanks to bakunin For This Post:
Hello,
I am trying to return the name of the resulting file from a .zip archive file using unix unzip command.
unzip c07212007.cef7081.zip
Archive: c07212007.cef7081.zip
SecureZIP for z/OS by PKWARE
inflating: CEP/CEM7080/PPVBILL/PASS/G0063V00
I used the following command to unzip in... (5 Replies)
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)
I am trying to zip a file with password protection.
I have read all or atleast most of the threads on the website, but couldn't come up with a solution.
I am running ZIP version 2.3 on HP-UX but I dont see the -P (password) option. I read somewhere that free versions of zip don't come with... (5 Replies)
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)
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)
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)
Hi,
In my shell script I am using the zip command to zip the log files. The zip file is password protected. But there is a dicey.
I want the output as:
1) All files should be zipped including sub-directories' files
2) All files (individually) should be Password protected (may be common or... (4 Replies)
Hi
I have a requirement in unix shell where I need to zip multiple files on server to one single .zip file. I dont see zip command in AIX and gzip command not doing completely what I want.
One I do .zip file, I should be able to unzip in my local Computer.
Here is example what I want... (9 Replies)
Hi all i am very new to shell scripting and need some help from you to learn
1)i have some log files that gets generated on daily basis example: i have abc_2017_01_30_1.log ,2017_01_30_2.log like wise so i want to zip this 4 logs which are created on same date into one zip folder.
2)Post zipping... (2 Replies)
Hi all i am very new to shell scripting and need some help from you to learn
1)i have some log files that gets generated on daily basis example: i have abc_2017_01_30_1.log ,2017_01_30_2.log like wise so i want to zip this 4 logs which are created on same date into one zip folder.
2)Post zipping... (1 Reply)
Discussion started by: b.saipriyanka
1 Replies
LEARN ABOUT FREEBSD
znew
ZNEW(1) BSD General Commands Manual ZNEW(1)NAME
znew -- convert compressed files to gzipped files
SYNOPSIS
znew [-ftv9K] file ...
DESCRIPTION
The znew utility uncompresses files compressed by compress(1) and recompresses them with gzip(1).
The options are as follows:
-f Overwrite existing '.gz' files. Unless this option is specified, znew refuses to overwrite existing files.
-t Test integrity of the gzipped file before deleting the original file. If the integrity check fails, the original '.Z' file is not
removed.
-v Print a report specifying the achieved compression ratios.
-9 Use the -9 mode of gzip(1), achieving better compression at the cost of slower execution.
-K Keep the original '.Z' file if it uses less disk blocks than the gzipped one. A disk block is 1024 bytes.
SEE ALSO gzip(1)CAVEATS
The znew utility tries to maintain the file mode of the original file. If the original file is not writable, it is not able to do that and
znew will print a warning.
BSD January 26, 2007 BSD