Last active
February 2, 2018 17:37
-
-
Save Miss-Inputs/bd6948db189143fd1957201ed72975d5 to your computer and use it in GitHub Desktop.
7z every file in a directory matching an extension individually at max power
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
ls *.ext | % {& $7z a -mx9 ([IO.Path]::GetFileNameWithoutExtension($_) + ".7z") $_.fullName} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment