Skip to content
Errors
Commands
Flags
Config
Cheat sheets
Changes
Compat
Codes
Compare
Glossary
Search
Ctrl K
Browse
Error Messages
Commands
Flags & Options
Config Reference
Cheat Sheets
Version Changes
Compatibility
Codes & Tables
X vs Y
Glossary
All tools
Home
Tools
tar
Shell & Unix
tar
Archive files.
Official documentation
Commands
1
tar -xzf: extract a .tar.gz archive
Extract a .tar.gz archive with tar -xzf archive.tar.gz. Use -C to choose the target directory, -t to list contents first and -v to print each extracted file.
All tar commands
Esc