Hi All,
I have a text file zipped by gunzip in Unix and I transfer it to windows. After I unzip it by winrar or 7z it requires to be converted DOS format to edit that text file correctly. Otherwise data structure in the file corrupted due to LF conversion to CRLF.
File size is about 7 GB.
What I need to do to transfer that zipped file from unix to windows to edit correctly without converting to DOS format ?
Thanks in advance
Huseyin
Joined: 13 Jun 2007 Posts: 632 Location: Wisconsin
You can not transfer a zipped file in ASCII and have it work correctly.
I don't know if this is possible with your tools, but you either need to tell the zipping program to convert the LR to CRLF or you need to do it at unzip.
The other option is to get a better text editor for windows that knows how to deal with file that use only LF for the end of line character. Incidentally, Wordpad (standard with Windows) can do this. However I would recommend Notepad++ or Textpad or Ultraedit, they are all better than the standard Windows Notepad.