TCLUG Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Redirection of a tar file



Greet the sun all,

How do you redirect the output of a tar extraction.  If it can be done
in NT, I know it can be done in Linux. I have looked in the man pages
and a couple of books with no luck.  Essentially, I want to:

tar -xvf sometarfile.tar > /opt/somedirectory

where the > is some type of pipe command to place the files relative,
not to the current directory, but the one I specify.

Thank you
--
Perry Hoekstra - dutchman@mn.uswest.net
-------------------------------------------------
All that is Microsoft does not glitter,
Not all those who wander are lost;
The old AT&T Unix that is strong does not wither,
Deep roots are not reached by frost.

From the ashes of Spec1170 a fire shall be woken,
A light from the shadows shall spring;
Renewed shall be the Unix OS that was broken,
Linux shall be king.