Created
October 14, 2012 09:21
-
-
Save nmanzi/3888096 to your computer and use it in GitHub Desktop.
Extract all RAR files under the current directory (requires unrar.exe in %PATH%)
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 | ?{ $_.PSIsContainer } | ForEach-Object {Get-ChildItem $_ *.rar | select-object -first 1 | foreach-object {unrar x $_.FullName}} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment