- Forums
- Linux
- How To Untar To Destination Path
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 [3282], Last Updated: Mon Jun 24, 2024
Webune Support
Thu Jan 28, 2010
1 Comments
994 Visits
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