OK, I can do that. Actually, I already have I script to do that:
https://gist.github.com/willian/3210323