-1

I have tar.gz archive on external drive and to extract I need to copy to my home directory and then extract. Is there a way to have it in one go, extract to /home/me directory without the need to copy it first?

Jeff Schaller
  • 67,283
  • 35
  • 116
  • 255
jcubic
  • 9,932

1 Answers1

1

Use below commands:-

tar -xvzf filename.tar.gz -C /home/me