![]() % zip -e -r directory-encrypted.zip directory.zip It usually only adds about 200 bytes for the extra header. ![]() using zip only, maybe they can't or won't even install 7-zip.) a simple workaround is to make an encrypted-zip of an intermediate plain-zip. As commented in other answers, zip-encryption may or may not be secure depending on which version you are using and anyway tools like tar & gpg are better from a technical perspective, but when you are stuck having to create portable archives for non-technical users (i.e. Using command line, is there a way to zip a directory with encryption while also encrypting or hiding the filenames themselves?īecause there is not yet an answer which strictly answers how to use zip to encrypt filename-listing as well as file(s) contents, here is one. Skipping: Directory/sensitive-file-name-3 incorrect password Directory/sensitive-file-name-3 password: Skipping: Directory/sensitive-file-name-2 incorrect password ![]() Directory/sensitive-file-name-2 password: Skipping: Directory/sensitive-file-name-1 incorrect password ![]() ![]() If someone runs: unzip Directory.zipĪnd repeatedly enters a wrong password, the unzip command will loop through all of the contained filenames until the correct password is entered. However, this does not encrypt the filenames themselves. Using command line, I know that I can encrypt a directory with the following command: zip -er Directory.zip /path/to/directory ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |