Languages
[Edit]
EN

Bash - extract *.tar.gz file in Linux

5 points
Created by:
martineau
1350

In this short article we would like to show how to extract *.tar.gz file using Linux Command Line.

Quick soution:

Output:

Where:

  • -x means archive extracting,
  • -z means gz decompression,
  • -v means pringin in console progress as paths to extracted files,
  • -f means /path/to/file.tar.gz ahould be attached.

Extracting only specific paths

Edit

By adding next parameter we are able to specify the path, that we want to extract only.

Output:

See also

Edit
  1. Bash - compress files with tar command in Linux

Alternative titles

  1. Bash - uncompress *.tar.gz file in Linux
  2. Bash - decompress *.tar.gz file in Linux
1
Donate to Dirask
Our content is created by volunteers - like Wikipedia. If you think, the things we do are good, donate us. Thanks!
Join to our subscribers to be up to date with content, news and offers.

Bash

Bash - extract *.tar.gz file in Linux
Native Advertising
🚀
Get your tech brand or product in front of software developers.
For more information Contact us
Dirask - we help you to
solve coding problems.
Ask question.

❤️💻 🙂

Join