for f in *.txt; do iconv -f mac -t utf-8 “$f” >“$f.utf8”; done
Note: -f Input file encoding type -t Output file encoding type
Reference: http://manual.macromates.com/en/saving_files.html
for f in *.txt; do iconv -f mac -t utf-8 “$f” >“$f.utf8”; done
Note: -f Input file encoding type -t Output file encoding type
Reference: http://manual.macromates.com/en/saving_files.html