iirc jason scheiffler had a utility for that. there was another that was for windows, and worked on desktops not maya specific. but its really handy.