Skip to content

Instantly share code, notes, and snippets.

@t3chnoboy
Created January 8, 2014 18:55
Show Gist options
  • Save t3chnoboy/8322246 to your computer and use it in GitHub Desktop.
Save t3chnoboy/8322246 to your computer and use it in GitHub Desktop.
Convert all files in folder to utf-8 using iconv
# http://stackoverflow.com/questions/4544669/batch-convert-latin-1-files-to-utf-8-using-iconv
find . -type f -exec bash -c 'iconv -f iso-8859-1 -t utf-8 "{}" > /path/to/destination/"{}"' \;
@kirgizmustafa17
Copy link

convert all iso-8859-1 files to utf-8, not all files.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment