Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
If we do not hit our goal we will be forced to close the site.

Current status: https://keepboardsalive.com/

Annual subs are best for most impact. If you are still undecided on going Ad Free - you can also donate using the Paypal Donate option. All contribution helps. Thank you.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.

Transferring files from Win->Linux

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: 95 ✭✭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