I don't personally know of any specific scripts to get what you want but the link below gives a list of various tools which may get you what you want with a little customizing. I have used some of the tools before to get what I need. I am sure you will find this useful :-
Good Luck !