LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-08-2010, 01:36 AM   #1
shreyansh
LQ Newbie
 
Registered: May 2010
Posts: 14

Rep: Reputation: 0
How to create a password protected tar file?


and also please tell me how to create password protected tar file ?
 
Old 06-08-2010, 01:46 AM   #2
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2389Reputation: 2389Reputation: 2389Reputation: 2389Reputation: 2389Reputation: 2389Reputation: 2389Reputation: 2389Reputation: 2389Reputation: 2389Reputation: 2389
Hi,

Tar does not have this functionality. Rar can password protect (see the -hp switch).

Maybe you can tar everything and rar the tar file.

Hope this helps.
 
Old 06-08-2010, 01:47 AM   #3
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Or just use gpg to encrypt the tar ball?
 
Old 06-08-2010, 01:50 AM   #4
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2389Reputation: 2389Reputation: 2389Reputation: 2389Reputation: 2389Reputation: 2389Reputation: 2389Reputation: 2389Reputation: 2389Reputation: 2389Reputation: 2389
@Tinkster: That's an even better solution.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to read password protected power point file tanveer Linux - General 8 10-22-2009 02:47 AM
make a file password protected sherimm Linux - Software 3 04-01-2009 05:09 AM
how to create a password protected dvd/cd kazuma Linux - Security 2 07-03-2006 10:55 AM
how to open password protected file (by MSWord) in Linux chillangella Linux - Newbie 2 08-04-2004 03:02 AM
unlocking (Win)password-protected file on CD svar Linux - General 5 10-13-2003 02:16 PM


All times are GMT -5. The time now is 06:48 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration