In Linux you can use the rename command to rename files in masses
# rename all coinsurance of 'Post' in the name of all java files in the
# current directory and its sub-directories to 'Comment'
find -name "*.java" | xargs rename 's/Post/Comment/g'