tar (Windows)
SafeBuilt-in tar
tar -xf <archive.tar.gz>
Windows 10+ ships bsdtar — extract tar.gz (and even zip) straight from the prompt, no extra tools.
Examples
tar -xf logs.tar.gz -C C:\workExtract to a target folder
Syntax
tar -cf|-xf <archive> [-z] [files] (bsdtar同梱)
Before you run it
Archive operations only.
Related commands
- tarArchive (tar)
- Expand-ArchiveExtract ZIPs natively
The same reference, with no signal at all
Every command on this site, held on your device. The app adds 632 more: 1,510 commands and 120 fix flows, searchable with no connection. Free to install, no ads (some content is a one-time purchase).
Get it free on the App Store