Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Bulk convert cp1252 to utf-8 in Windows
- find . -type f -print -exec iconv -f cp1252 -t utf-8 {} > {}.converted ; -exec mv {}.converted {} ;
- find . -type f -print -exec 'iconv -f cp1252 -t utf-8 {} > {}.converted' ; -exec mv {}.converted {} ;
- find: `iconv -f cp1252 -t utf-8 ./java/dv/framework/activity/model/ActivitiesMediaViewImpl.java > ./java/dv/framework/activity/model/ActivitiesMediaViewImpl.java.converted': No such file or directory
- for f in `find . -type f`; do
- iconv -f cp1252 -t utf-8 $f > $f.converted
- mv $f.converted $f
- done
- find . -type f -print -exec sh -c 'iconv -f cp1252 -t utf-8 {} > {}.converted' ; -exec mv {}.converted {} ;
Add Comment
Please, Sign In to add comment