Skip to content

Instantly share code, notes, and snippets.

@porcelli
Created December 1, 2009 22:05
Show Gist options
  • Save porcelli/246699 to your computer and use it in GitHub Desktop.
Save porcelli/246699 to your computer and use it in GitHub Desktop.
#!/bin/sh
find /Users/porcelli/Documents/dev/osl -name \*.java -type f | \
(while read file; do
iconv -f MacRoman -t UTF-8 $file > tmp.txt;
mv tmp.txt $file
done)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment