We help IT Professionals succeed at work.

Check out our new AWS podcast with Certified Expert, Phil Phillips! Listen to "How to Execute a Seamless AWS Migration" on EE or on your favorite podcast platform. Listen Now

x

ZIP a file in unix with password

anilmahanty
anilmahanty asked
on
Medium Priority
1,265 Views
Last Modified: 2013-12-26
is it possible to zip a file in unix(solaris) with password protection inside a shell script.
Comment
Watch Question

masheikSoftware Engineer
CERTIFIED EXPERT

Commented:
zip the file first,
use crypt command to protect the zip file using password
http://www.u.arizona.edu/udocs/unix-cmds.html#crypt

Author

Commented:
Hi,
Thanks for this solution.
But its not work like zip with password.
Just we are encrypting a file, is there any possible way to zip with password.
Because that password protected file need to send in mail and that zip will open in windows.
For this it need to zip with password which one can also open in windows also.

Regards,
  Anil
Software Engineer
CERTIFIED EXPERT
Commented:
Unlock this solution and get a sample of our free trial.
(No credit card required)
UNLOCK SOLUTION

Author

Commented:
Hi Masheik,
Ok, Thanks for this info, now i need to install PKZIP in my UNIX server.
After that using PKZIP i can zip with password.

Regards,
  Anil
Unlock the solution to this question.
Thanks for using Experts Exchange.

Please provide your email to receive a sample view!

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.