Created
September 29, 2013 16:26
-
-
Save dbrack/7c2b847385f826525fa8 to your computer and use it in GitHub Desktop.
Script to change text encoding of files
This file contains 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
find . -type f -name "*.java" | xargs vim +"argdo set bomb | set fileencoding=utf-8 | w" | |
find . -type f -name "*.java" | xargs vim +"argdo set fileencoding=utf-8 | w" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment