About 365,000 results
Open links in new tab
  1. How to apply dos2unix recursively to all the contents of a folder?

    Is there a way to apply the dos2unix command so that it runs against all of the files in a folder and it's subfolders? man dos2unix doesn't show any -r or similar options that would make this stra...

  2. conversion - Convert file with Windows-style EOL to Unix-style EOL ...

    Apr 29, 2016 · I use an old server without dos2unix and I would like to convert files containing Windows-style end-of-line (EOL) to Unix-style EOL. I am unfortunately not the admin so I can't install dos2unix.

  3. How to install dos2unix on Linux without root access?

    Apr 18, 2016 · How to install dos2unix on Linux without root access? Ask Question Asked 9 years, 8 months ago Modified 2 months ago

  4. Why does dos2unix abort converting files with special characters by ...

    Aug 6, 2020 · The man page for dos2unix states: Binary files are automatically skipped, unless conversion is forced. ... -f, --force Force conversion of binary files. If you run dos2unix without the -f fl...

  5. 'dos2unix' is unable to convert a `typescript` file to Unix format

    Jul 24, 2019 · dos2unix works with plain text files. typescript is not a plain text file, but a raw (binary) recording of terminal activity. For dos2unix that should just be a safety measure to not needlessly …

  6. Converting DOS text files to Unix - Unix & Linux Stack Exchange

    I have a bunch of PHP scripts that are in DOS format (vi displayed [noeol] [dos] in the status line) and as expected they weren't usable. I ran dos2unix over them to fix the line endins: dos2unix

  7. What is `^M` and how do I get rid of it? - Unix & Linux Stack Exchange

    Apr 17, 2015 · 121 A simpler way to do this is to use the following command: dos2unix filename This command works with path patterns as well, Eg dos2unix path/name* If it doesn't work, try using …

  8. Recursively converting Windows files to Unix files

    Mar 15, 2019 · dos2unix will accept multiple file names so I would use: find . -type f -exec dos2unix --keepdate {} + This will stack up long lists of files and then kick off dos2unix on a whole bunch of them …

  9. text processing - How to bulk convert all the file in a file system ...

    This will run dos2unix on all files, the ones that already have Unix line-breaks (LF), as well as the ones in need to convert the Windows line-breaks (CRLF) to LF.

  10. Convert certain file types within all subdirectories with dos2unix

    Nov 6, 2017 · Convert certain file types within all subdirectories with dos2unix Ask Question Asked 8 years, 1 month ago Modified 8 years, 1 month ago