Skip to content

Instantly share code, notes, and snippets.

@ytkhs
Created June 16, 2011 09:56
Show Gist options
  • Save ytkhs/1028972 to your computer and use it in GitHub Desktop.
Save ytkhs/1028972 to your computer and use it in GitHub Desktop.
One-Liner for converting text files under current directory to UTF-8 encoding and LF line break.
$ find . -type f | xargs -n 10 nkf -w -Lu --overwrite
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment