tar tvf <tarfile.tar>
If you know any part of the filename, you could append the path, like
tar tvf <tarfile.tar> '/home/backup/pg*'
should work. If you don't, then the tvf will do it ('f' to tell tar to use
the file tarfile.tar as its input)
Jamie
-----Original Message-----
From: Shawn Grover [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 28, 2004 4:24 PM
To: CLUG (E-mail)
Subject: [clug-talk] Help with extracting a file from a tar
Hi gang.
We have some files backed up in a .tar file, and I need to recover one of
them. Unfortunately, I do not know the exact path/filename of the required
file. So, I tried something like "tar -t tarfile.tar" to get a listing of
the contents, with no luck. I'm sure I'm missing an option there though.
The tar file in question is approx 11 GB in size, and the drive it is
sitting on only has 4 GB free - So I can't just untar the entire file. Any
tips or suggestions here? Thanks.
(one of our windows servers cratered over the weekend, but it isn't that
critical. However we do have some databases on it that are used
periodically - I need to recover one of the databases and get it set up on a
different server. We have a Linux box using Samba to backup files on the
network in tar files.)
Shawn
_______________________________________________
clug-talk mailing list
[EMAIL PROTECTED]
http://clug.ca/mailman/listinfo/clug-talk_clug.ca
_______________________________________________
clug-talk mailing list
[EMAIL PROTECTED]
http://clug.ca/mailman/listinfo/clug-talk_clug.ca