How do you unarchive with TAR?
Ralf Holighaus
ralfi at pemstgt.PEM-Stuttgart.de
Wed Nov 21 03:23:42 AEST 1990
TJS111 at psuvm.psu.edu (Thomas J. Snively) writes:
>Recently, I've been getting in to getting cool things for free off the
>netnews by downloading things and such. I've had mild success, but I'm
>stuck on this tar thing.
>Ok, suppose I have a file, foo.foo.tar, ok? The directions that the
>poster says is "Tar this into your favorite directory...."
>I can't unarchive anything. I've read the manual on it several times,
>and can't understand it.
>If I'm in my home directory, and want to unarchive that whole thing into,
>say, /stuff, what do I do?
1. Change in the desired directory.
2. There may be two possibilities:
2a) The file foo.foo.tar is a tar archive file, that means it
contains files
2b) The file foo.foo.tar is on an archive disk
As you downloaded the file, i suppose case 2a) will be the right thing.
3. For extracting the files of the 2a) archive file, simply use
tar xvf - < foo.foo.tar
It tells tar to extract files, but read from the standard input.
Rgds
Ralf.
--
| Programmentwicklung fuer Microcomputer | Ralf U. Holighaus |
| PO-Box 810165 Vaihinger Strasse 49 | >> PEM Support << |
| D-7000 Stuttgart 80 West Germany | holighaus at PEM-Stuttgart.de |
| VOICE: x49-711-713045 FAX: x49-721-713047 | ..!unido!pemstgt!ralfi |
More information about the Comp.unix.questions
mailing list