Extracting tz

Quick to answer questions about finding your way around Linux Mint as a new user.
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
rbanavara

Re: Extracting tz

Post by rbanavara »

the files will be extracted in the path wherever you are. If you need them to be in /home/rbanavara/apps, then

cd /home/rbanavara/apps
zcat /[mount_point]/SPLUS.TZ | tar xvf -

from the desktop GUI, you can use archive manager to extarct the files as well.
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
emorrp1

Re: Extracting tz

Post by emorrp1 »

tar has the -C flag to do what you want:

Code: Select all

zcat /[mount_point]/SPLUS.TZ | tar xvf - -C /path/to/dir
rbanavara

Re: Extracting tz

Post by rbanavara »

The above solution to use -C option, is a clean solution (mine was a crude one). Actually I was overwhelmed by the options for tar in the man page!
Locked

Return to “Beginner Questions”