Unix newlines to Windows newlines (on Windows)

后端 未结 11 1850
失恋的感觉
失恋的感觉 2020-12-01 05:44

Is there a way (say PowerShell, or a tool) in Windows that can recurse over a directory and convert any Unix files to Windows files.

I\'d be perfectly happy with a wa

11条回答
  •  时光说笑
    2020-12-01 06:08

    Opening a file with Unix line endings in Wordpad and saving it will rewrite all the line endings as DOS. A bit laborious for large numbers of files, but it works well enough for a few files every once in a while.

提交回复
热议问题