![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| 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 !! |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
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
|
||||
|
||||
|
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 |