LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 04-18-2006, 05:42 AM   #1
saini_mw
Member
 
Registered: Jun 2005
Location: On the top of the World
Posts: 114

Rep: Reputation: 15
backup utility


hi dears,

I am using HP DDS4 drive for backup,using tar command i can backup and restore data but what if i want to see what is inside the tar files stored on DDS media???
tar command only shows the .tar files stored on media but i want to see the contents of that particular tar file.


Thanks in advance


Inder
 
Old 04-18-2006, 09:16 AM   #2
kilgoretrout
Senior Member
 
Registered: Oct 2003
Posts: 2,309

Rep: Reputation: 139Reputation: 139
Here's a mini-Howto I wrote a long time ago:

**************************************************************************************

To list the contents of an archive:

$ tar -tvf <archive>

To list only the directories do:

$ tar -tf archive.tar | grep /$

**************************************************************************************

Extracting individual files from an archive:

tar -xvf <archive> <filename>

The filename must be as it appears in the archive; use tar -tvf to get exact file name.

**************************************************************************************
 
  


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
Backup utility wanted MurX Linux - Software 10 04-21-2006 07:11 AM
looking for dvd backup utility fuzzyheadedfreak Linux - Newbie 1 12-17-2005 07:52 PM
Backup Utility Echo Kilo Linux - Software 2 05-16-2005 02:42 PM
Nice backup utility for X? FiveFlat Linux - General 2 01-10-2004 02:25 PM
BACKUP utility c0c0deuz Linux - Software 5 06-19-2003 03:47 PM


All times are GMT -5. The time now is 09:23 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration