Last active
July 29, 2022 07:08
-
-
Save redtrillix/478594d9ae79e9a915ecdeb0c3e13f37 to your computer and use it in GitHub Desktop.
This powershell script will extract all zipped files located in the "dir\source" specified, and create their own directory.
This file contains hidden or 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 -Filter *.zip -Recurse "dir\source" | % { $_.FullName } | Split-Path | Get-Unique | % { cd $_ ; &'C:\Program Files\7-Zip\7z.exe' x *.zip -o* } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment