The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

Closed Thread
 
Submit Tools LinkBack Thread Tools Display Modes
  #1  
Old 09-13-2001
Registered User
 

Join Date: Sep 2001
Posts: 1
Question tar

hi,
1. i'm a beginner user for unix. i want to learn that how can i learn disk usage of tape device?
2. How can i remove a file or directory from the tape device??

Thanks, regards...
Forum Sponsor
  #2  
Old 09-16-2001
rwb1959's Avatar
Registered User
 

Join Date: Aug 2001
Location: Virginia, USA
Posts: 438
Using tar...

1) use the -t and -v options and it will report a
list of all files on the tape and the total
number of blocks used. You will have to
translate that into bytes base on the block
size.

2) use the -x option to extract files from tape.
If you name the specific directory you are
interested in extracting, you should get all
the files under that particular directory.

Read through the man page carefully for your
specific "tar" (they are pretty much all the same
but some have minor differences).
Google The UNIX and Linux Forums
Closed Thread

Thread Tools
Display Modes




All times are GMT -7. The time now is 09:55 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0