Created
September 28, 2020 07:35
-
-
Save kbilsted/456644ad4b8b80265b0a597dc73a6bce to your computer and use it in GitHub Desktop.
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
Call `COMMAND` on all `.foo` files and output it to `.bar` files. | |
dir *.foo | foreach-object { $newname = $_.Name.Remove($_.Name.Length - $_.Extension.Length) + ".bar"; COMMAND -vn -n -i "$_" $newname } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment