Created
September 22, 2015 19:12
-
-
Save Sciss/e2eaf3dba3384d2cb23a to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| for file in *.java; do | |
| mv "$file" "${file%.java}.win.txt" | |
| iconv -f windows-1250 -t utf-8 "${file%.java}.win.txt" -o "${file%.java}.java" | |
| rm "${file%.java}.win.txt" | |
| done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment