Saturday, August 12, 2023

Batch convert file line ending from Windows to Linux using Notepad++

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

No comments:

Several modules must be compiled when running VMware Workstation on Ubuntu

Several modules must be compiled when running VMware Workstation on Ubuntu I have a machine with Ubuntu 24.04.2 with VMware Workstation wor...