problem with Migrating code base from windows to linux
Apologies if this question has already been answered.
I have migrated my code base from windows to linux. The problem iam facing is that some Ascii files have a ^M character at the end of each line. for eg i hada batch file on windows and i copied that to a .sh file in linux and it flashed me with errors. is ther any tool as such designed for copying the files from windows to linux keeping the characristics of the file in tact. what can be the best possible solution of migrating the code base. thanks |
The thing you want is dos2unix.
Quote:
|
Or use FTP to transfer files.
It has an "ascii" mode that deals with similar CR/LF problems. |
All times are GMT -5. The time now is 04:57 PM. |