short of learning a programing language suited for this (perl, python, ruby, java, php) and writting it yourself you can only hope that you find a similar script in one of the archives..