Skip to content

Instantly share code, notes, and snippets.

@nzer0
Created November 13, 2018 11:35
Show Gist options
  • Select an option

  • Save nzer0/dfcff0bf400be4fe69c337a0e692e466 to your computer and use it in GitHub Desktop.

Select an option

Save nzer0/dfcff0bf400be4fe69c337a0e692e466 to your computer and use it in GitHub Desktop.
filename encoding convert
#!/bin/sh
for X in `find . -name "*"`;do
utf-8_filename=`echo $X | iconv -f euc-kr -t utf-8`
mv "$X" "$utf-8_filename"
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment