Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

Transferring files from Win->Linux

Options

Comments

  • Closed Accounts Posts: 6,601 ✭✭✭Kali


    easy.. you must be transferring it as a binary file.
    use ascii.


  • Closed Accounts Posts: 15 Bracken


    Ummm, I'm not using FTP just transferring the file from one disk to another.

    Can I specify ASCII with the cp command?


  • Closed Accounts Posts: 12 Catch22


    due to current problem s i dont havfe linux handy to test tjhis on,
    but it could be as simple as:
    cat file > sum_other_file

    i think this will do it, not 100% sure tho
    Catch


  • Closed Accounts Posts: 96 ✭✭krinDar


    DOS/WinNT/Win9x uses Linefeed + Carriage return at the end of lines, Unix only uses Carriage Return IIRC.

    To fix the file try
    sed 's/.$//' filename > newfile



Advertisement