The UNIX and Linux Forums
>
Top Forums
>
UNIX for Dummies Questions & Answers
TAR - how to extract to different folder
.
User Name
Remember Me?
Password
google unix.com
Forums
Register
Forum Rules
Links
Albums
FAQ
Members List
Calendar
Search
Today's Posts
Mark Forums Read
Thread
:
TAR - how to extract to different folder
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
#
1
(
permalink
)
10-26-2006
hcclnoodles
Registered User
Join Date: Mar 2002
Posts: 272
TAR - how to extract to different folder
Hi there, if i am in /opt and i want to extract /data/package.tar to /usr, how do I do it...How can I extract to a directoory that im not currently in ???
eg ....(this doesnt work)
Code:
#cd /opt # tar xvf /data/package.tar /usr
cheers
hcclnoodles
View Public Profile
Find all posts by hcclnoodles
Find hcclnoodles's past nominations received
Find hcclnoodles's present nominations given