Batch convert file line ending from Windows to Linux using Notepad++
Working on cross-platform project means you have to be careful with file line endings. If for some reason the files were not using the correct line endings Notepad++ can be used to do batch conversion of the files. To do so, open Find in Files (Ctrl+Shift+F) and use the following options:Find what: (\r\n)
Replace with : \n
Filters : *.*
Directory : C:\Temp
Search Mode: (o) Regular expression
Comments