LinuxQuestions.org
Review your favorite Linux distribution.
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, 06: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, 10:16 AM   #2
kilgoretrout
Senior Member
 
Registered: Oct 2003
Posts: 2,333

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


All times are GMT -5. The time now is 01:39 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration