Wow. Thanks everyone. I'm definitely taking the train! I did want to stop off somewhere... 6 hours is a loooong ride! I'm definitely going to look into Bamberg and Nurnberg!
Is there some train pass that would allow me to train hop from city to city in a day, or would I have to book each leg separately? I wouldn't mind visiting both cities!