I've zipped a directory with a command like one of these:
Code:
7z a -mhe=on -p asdf.zip test
zip -e asdf.zip test/*
I would expect to be asked for a password when I open the zip file. After entering the password, THEN I can extract all the files and access everything. I (think I) recall doing this with a zip program on Windows at work.
What those two commands actually get me is a zip file that totally exposes its contents, (STOP, see edit) then asks for a password when I open each zipped file. I guess my files are encrypted, but this is annoying because I'm encrypting a large number of files that'd be opened individually in their use. Is there a way to get what I want above? To only be prompted for a password at extraction?
EDIT: I take that back, it doesn't ask for a password after extraction, but I'm still annoyed that all the contents are exposed. What can be done about that?
Apologies if I scrolled past the relevant info on the man pages!