I have a bunch of text files created in Ubuntu and when I access them on a Windows machine using DropBox they are not properly formatted because of the Line Ending
difference between Unix/Linux and Windows.
After changing the Line Ending from Unix/Linux to Windows, the text file was rendered properly in both Windows and Ubuntu.
How to convert the Line Ending from terminal to automate the conversion?