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 and flow from this site, held on your device and searchable with no connection. Free to install, no ads.
Get it free on the App Store