I guess I have a tool that does that:
Just a heads up though...
I never released it here because I wrote it in an evening. The command-line arguments need to be cleaned up, the tool is completely untested outside of a single other individual I wrote it for, and it's in Golang (which I know most people aren't familiar with here). But hey, if you want to compile it and get it running, it does exactly what I think you're asking for. Feel free to give me feedback on it as well, if it doesn't work. Cheers.