Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
You may know this, but while tar and gzip (and bzip2) do not seem to support password encryption, the old reliable 'zip' does. You can encrypt a password with it using the argument -e, as in:
zip -e archivename filetobezipped
It will prompt you (twice, for typo protection, grin) for a password. then just unzip archivename.zip and it will ask for a password.
For tar, all i do is tar my files first, as in tar cfv tarballname file file file etc.
and the zip the tarball with the -e switch.
I apologize if you knew this, and wanted to find a way to do it with the OTHER archivers. I wish bzip2 and gzip and tar had that feature, too. I also will the other zip utilities had the -L argument to remove some upper case letters when unzipping dos archives, just as a p.s.

![]() |
![]() |
![]() |

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |