converting file encoding (batch files) with same output filename
Hello everybody :-) this is my first post and I`m new to Linux.
I have a problem on how to convert *.java files in a huge directory structure.
from SHIFT_JIS -> UTF-8
and when converted, the converted file must be the same input filename
I do also need to a recursive find for this one..
my logic is this one:
1. find *.java files in directory / subdirectory -> recursive find
2. if match
iconv -f SHIFT_JIS -t UTF-8 inputFileName > outputFileName
I don`t know how to implement [ inputFileName > outputFileName ]? :-(
and the recursive find..