add check utf8 bash script, for data and src dirs

This commit is contained in:
Chris Beck 2014-06-29 15:50:57 -04:00
parent 42cc3e718e
commit 4ee8b95233

5
check_utf8.sh Executable file
View file

@ -0,0 +1,5 @@
#!/bin/bash
# Install isutf8 program (from package "moreutils" at least in linux mint)
# in order to use this script
find src/ -type f -exec isutf8 {} \;
find data/ -not -name "*.png" -not -name "*.ogg" -not -name "*.jpg" -not -name "*.wav" -not -name "*.gif" -not -name "*.xcf" -type f -exec isutf8 {} \;