Last active
August 30, 2022 17:31
-
-
Save lichtmetzger/1e2cfa1c57b3fea9de82ab54b65c9a03 to your computer and use it in GitHub Desktop.
Powershell: 7-Zip parallel extraction from current directory
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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