Keeping music in sync across machines

At home, I've recently been using a Mac. At work, I use a Linux box.