As a continuation to a previous blog post last week and inspired by Kedar I have created a small script to export tables, stored procedures, functions and views into their respective file. It works for multiple databases where you can specify a list of databases too and although things like events, triggers and such are still missing they are easily added.
It is especially useful to dump stored procedures separately since it is a lacking functionality in mysqldump.
I placed the script in mysql forge for anybody to use, provide feedback and possibly enhancements to it.