iconv -f iso-8859-1 -t utf-8 -o OUTPUT.txt INPUT.txt
Converts INPUT.txt from iso-8859-1 to utf-8 and writes it to OUTPUT.txt.
INPUT.txt
iso-8859-1
utf-8
OUTPUT.txt
for f in $(find . -type f) do iconv -f iso-8859-1 -t utf-8 -o ${f}_$$_TEMP ${f} \ && mv ${f}_$$_TEMP ${f} done