how to extract tar.gz file to a specified location [solved]

To extract a .tar file to a specified location, simply specify your target directory to -C option.

example: tar -xzf  mytarfile.tar.gz  -C /tmp

sources

Leave a Reply