Created
June 23, 2024 16:31
-
-
Save dathanb/25825857b2e082a7bc5f7327f6e27230 to your computer and use it in GitHub Desktop.
Convert line endings from unix to windows in Powershell
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-Content $FilePath) -join "`r`n") + "`r`n" | Set-Content -NoNewline $FilePath |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment