Computing.Net > Forums > Linux > password with tar or gzip

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

password with tar or gzip

Reply to Message Icon

Name: ronen
Date: June 1, 2002 at 09:56:10 Pacific
Comment:

i want to encript and pack my directory
is it possible to pack it and open it with a password?
ronen



Sponsored Link
Ads by Google

Response Number 1
Name: Tom
Date: June 1, 2002 at 12:54:44 Pacific
Reply:

man tar
man gzip
If it is, it will be in the manpages.


0

Response Number 2
Name: ronen
Date: June 1, 2002 at 14:27:09 Pacific
Reply:

i did that already, no answers there...


0

Response Number 3
Name: Tom
Date: June 2, 2002 at 03:45:43 Pacific
Reply:

Well I doubt it's possible then.


0

Response Number 4
Name: Steven Z. Sawolkin
Date: June 29, 2002 at 05:55:10 Pacific
Reply:

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.


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

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


Go to Linux Forum Home


Sponsored links

Ads by Google


Results for: password with tar or gzip

Strange Bug with tar files www.computing.net/answers/linux/strange-bug-with-tar-files/8518.html

un tar or gz www.computing.net/answers/linux/un-tar-or-gz/1863.html

Burn hd backup www.computing.net/answers/linux/burn-hd-backup/3814.html