<< All Posts

How to list files from a tar.gz file


Before this became automatically in my mind, I used to google that all the time. So here we go:

If you want just to see which files are inside the .tar.gz file you may use -t option:

tar -ztvf file.tar.gz

If you want to extract files, you may use -x

tar -xzvf file.tar.gz

Bye!


<< All Posts

rodolfo.io

🇧🇷 🇨🇦
Runs on OpenBSD 🐡