How to uncompress a tar.gz in another directory?
I have an archive
> *.tar.gz
How can I uncompress this in a destination directory?
Todd D.
answered 02/16/22
Application Architect with over 25 years experience working with UNIX
tar –xvzf myCompressedFile.tar.gz –C /home/user/destination
flags
x - extract
v - verbose
z - decompress
f - filename
C - change directory
Still looking for help? Get the right answer, fast.
OR
Find an Online Tutor Now
Choose an expert and meet online.
No packages or subscriptions, pay only for the time you need.