SUMMARY: TAR problem

From: Edward W. Carr <ecarr_at_qwest.com>
Date: Fri May 25 2001 - 17:49:22 EDT
This is a multi-part message in MIME format.

------=_NextPart_000_002D_01C0E532.4433B9E0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit

This was the best solution ....

Thanks Buddy!!!!

Ted Carr

>  -----Original Message-----
> From: 	Lumpkin, Buddy [mailto:Buddy.Lumpkin@nordstrom.com] 
> Sent:	Friday, May 25, 2001 3:28 PM
> To:	'Edward W. Carr'
> Subject:	RE: TAR problem
> 
> From the chroot man page:
> 
> ----------snip-----------
> chroot provides an easy way to  extract  tar  files  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 you do  not  have  to
>      copy any shared libraries to the newroot filesystem.
> ------------snip----------------
> 
> 
> So in your case:
> 
> cp /usr/sbin/static/tar /export
> cp tarfile.tar /export
> cd /export
> cat tarfile.tar | chroot /export /tar xf -
> 
> Regards,
> 
> --Buddy
> 
> 
> 
> 	 -----Original Message-----
> 	From: 	Edward W. Carr [mailto:ecarr@qwest.com] 
> 	Sent:	Friday, May 25, 2001 1:42 PM
> 	To:	sunmanagers@sunmanagers.org
> 	Subject:	TAR problem
> 
> 	Hello Guru's ...  I have a quick question on tar...  
> 
> 	I am trying to extract an archive to a specific directory, but the
> tarball has /home/oracle as the path of the archived files ...
> 
> 	How do I force it to extract the files to /export/home/oracle and
> not /home/oracle 
> 
> 
> 	Thanks in Advance,
> 
> 	Ted Carr
> 	Qwest Communications
> 	UNIX Systems Administrator
> 

------=_NextPart_000_002D_01C0E532.4433B9E0
Content-Type: application/ms-tnef;
	name="winmail.dat"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
	filename="winmail.dat"

eJ8+IhYVAQaQCAAEAAAAAAABAAEAAQeQBgAIAAAA5AQAAAAAAADoAAEIgAcAGAAAAElQTS5NaWNy
b3NvZnQgTWF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AAAAAARgAAAAADhQAAAAAA
AAMAAoAIIAYAAAAAAMAAAAAAAABGAAAAABCFAAAAAAAAAwAFgAggBgAAAAAAwAAAAAAAAEYAAAAA
UoUAAH1uAQAeACWACCAGAAAAAADAAAAAAAAARgAAAABUhQAAAQAAAAQAAAA5LjAAAwAmgAggBgAA
AAAAwAAAAAAAAEYAAAAAAYUAAAAAAAALAC+ACCAGAAAAAADAAAAAAAAARgAAAAAOhQAAAAAAAAMA
MIAIIAYAAAAAAMAAAAAAAABGAAAAABGFAAAAAAAAAwAygAggBgAAAAAAwAAAAAAAAEYAAAAAGIUA
AAAAAAALANaACCAGAAAAAADAAAAAAAAARgAAAACChQAAAQAAAAsA9oAIIAYAAAAAAMAAAAAAAABG
AAAAAAaFAAAAAAAAAgH4DwEAAAAQAAAAjTNSzfJe1BGoAgDAT/jbNQIB+g8BAAAAEAAAAI0zUs3y
XtQRqAIAwE/42zUCAfsPAQAAAHAAAAAAAAAAOKG7EAXlEBqhuwgAKypWwgAAUFNUUFJYLkRMTAAA
AAAAAAAATklUQfm/uAEAqgA32W4AAABDOlxEb2N1bWVudHMgYW5kIFNldHRpbmdzXGVjYXJyXE15
IERvY3VtZW50c1xlY2Fyci5wc3QAAwD+DwUAAAADAA00/TcAAAIBfwABAAAALwAAADxORUJCS0lB
Q0lOUERCTkRGQ0pHTEVFSkVESEFBLmVjYXJyQHF3ZXN0LmNvbT4AAAMABhDzMsp/AwAHEAsEAAAD
ABAQAAAAAAMAERABAAAAHgAIEAEAAABlAAAAVEhJU1dBU1RIRUJFU1RTT0xVVElPTlRIQU5LU0JV
RERZVEVEQ0FSUi0tLS0tT1JJR0lOQUxNRVNTQUdFLS0tLS1GUk9NOkxVTVBLSU4sQlVERFlNQUlM
VE86QlVERFlMVU1QSwAAAACRRg==

------=_NextPart_000_002D_01C0E532.4433B9E0--
Received on Fri May 25 22:49:22 2001

This archive was generated by hypermail 2.1.8 : Wed Mar 23 2016 - 16:24:55 EDT