Results 1 to 3 of 3

Thread: Copy text in Windows\Unix formatting

  1. #1
    Join Date
    Dec 2006
    Beans
    28

    Talking Copy text in Windows\Unix formatting

    Does anybody know of a nautilus script that pastes the copied file(s) in either Unix or Windows text formatting? I figure this would be useful so I don't have to convert the files after copying them. Saves some time and makes it easier for a Linux beginner still using Windows.

  2. #2
    Join Date
    Nov 2008
    Location
    Metro Boston
    Beans
    8,514
    Distro
    Kubuntu 14.04 Trusty Tahr

    Re: Copy text in Windows\Unix formatting

    I can't help with the script, but the program called dos2unix will strip the extraneous line feeds that Windows uses with text files. It's in the Ubuntu repositories. There's a companion program that adds the line feeds when going from Unix to Windows.

    See: http://ubuntuforums.org/showthread.php?t=1498123
    Last edited by SeijiSensei; September 29th, 2010 at 05:10 PM.

  3. #3
    Join Date
    Dec 2006
    Beans
    28

    Re: Copy text in Windows\Unix formatting

    Actually, I know how to do that. I just know how to pass the clipboard file(s) to the script so I can paste it.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •