1

As the question Convert line-endlings for whole directory tree (Git) but to Windows \r\n

Only text files (eg: .html, .css, .js, .php)

Assume complex scenarios, such as files with mixed line endings (Unix and Windows)

Community
  • 1
  • 1
Jose Nobile
  • 3,243
  • 4
  • 23
  • 30

1 Answers1

1

Here's find. Here's unix2dos. Same solution applies.

Ignacio Vazquez-Abrams
  • 776,304
  • 153
  • 1,341
  • 1,358