tar --version Expected output: tar (GNU tar) 1.32 or higher.
choco install tar # or choco install gnuwin32-tar Prepared by Systems Engineering For internal distribution and technical reference. tar for windows
:: Enable long paths for current session reg add HKLM\SYSTEM\CurrentControlSet\Control\FileSystem /v LongPathsEnabled /t REG_DWORD /d 1 /f :: Then run tar normally tar -xf large_archive.tar 5.1 PowerShell Usage # Invoke tar from PowerShell & tar.exe -czf backup.tgz "C:\Projects" Using pipeline (list files to archive) Get-ChildItem -Path .\src -Recurse | ForEach-Object $_.FullName | tar -czf src.tgz -T - 5.2 Task Scheduler Automation Create an XML task to run weekly backup: tar --version Expected output: tar (GNU tar) 1