Skip to content

Instantly share code, notes, and snippets.

@lichtmetzger
Last active August 30, 2022 17:31
Show Gist options
  • Save lichtmetzger/1e2cfa1c57b3fea9de82ab54b65c9a03 to your computer and use it in GitHub Desktop.
Save lichtmetzger/1e2cfa1c57b3fea9de82ab54b65c9a03 to your computer and use it in GitHub Desktop.
Powershell: 7-Zip parallel extraction from current directory
Get-ChildItem *.7z | foreach-Object -parallel {
& "C:\Program Files\7-Zip\7z.exe" -aoa x $_.FullName -o*
} -ThrottleLimit 10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment