How To Untar To Destination Path

RegisterLogin
How To Untar To Destination Path
Post Description: This Post Will Show You How You Can Tar A File Folder Or Directory That Includes The Destination Where The Tar Is Going To Be Going To Be Untar
Tags: How, To, Untar, To, Destination, Path
This Post Was Posted On Jan 28, 2010 By Webune Support #3081
this command is helpful to know if you work in linux

to untar a file in once command which includes the path to the destination location of the directory

for example lets say i have a tar file called: webune.tar.gz in /home/users/ and when i execute the command i want it to send to the /home/otheruser/ directory so this is how i would do it:

tar xvfz /home/users/webune.tar.gz -C /home/otheruser/


hope that helps
Leave Your Comments
Related Pages: [Add Your Website]
Post New Topic
webune
#3421 1
you can also use:

tar xvfz /home/users/webune.tar.gz --directory=/home/otheruser/
Feb 05, 2010 Reply Report abuse
©2011 Webune Forums - Sun Dec 18, 2011 6:44 pm
Powered by: Webune Forums V3