Skip to content

Instantly share code, notes, and snippets.

@nupamore
Last active March 14, 2017 05:14
Show Gist options
  • Save nupamore/68756e03dd63fae9203397d14650c699 to your computer and use it in GitHub Desktop.
Save nupamore/68756e03dd63fae9203397d14650c699 to your computer and use it in GitHub Desktop.
change encoding multiple files
for f in */*
do
mv $f $f.bak
iconv -f euc-kr -t utf-8 $f.bak > $f
rm $f.bak
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment