Re: tar to different directory
- From: hubcap <hubcap@xxxxxxxxxxx>
- Date: Tue, 16 May 2006 16:04:54 +0000 (UTC)
I expect this guy is the winner. Thanks Ted...
Some of the other ideas were winners too, but everyone doesn't
have star (for example) lying about already.
-Mike
ted@xxxxxxxxxxxxxxx (Ted Nolan <tednolan>) writes:
From "man chroot" on Solaris 9:
EXAMPLES
Example 1: Using the chroot utility.
The chroot utility provides an easy way to extract tar files
(see tar(1)) written with absolute filenames to a different
location:
example# cp /usr/sbin/static/tar /tmp
example# dd if=/dev/nrst0 | chroot /tmp tar xvf -
Note that tar is statically linked, so it is not necessary
to copy any shared libraries to the newroot filesystem.
.
- References:
- tar to different directory
- From: onlineviewer
- Re: tar to different directory
- From: onlineviewer
- Re: tar to different directory
- From: Joe D.
- Re: tar to different directory
- From: hubcap
- Re: tar to different directory
- From: Ted Nolan <tednolan>
- tar to different directory
- Prev by Date: Re: Can't even get started with Solaris!
- Next by Date: Re: Can't even get started with Solaris!
- Previous by thread: Re: tar to different directory
- Next by thread: Re: tar to different directory
- Index(es):
Relevant Pages
|