There is a spray you can buy here (states - probably something like it everywhere) called Febreze that works wonders when it comes to getting any type of odor out of anything - fabric, rugs, furniture, etc.

Also, if you have books that smell moldy (as long as they don't have gold leaf on the edges or on the cover) stick them in the microwave for 5 (FIVE and only FIVE) seconds at a time. It may take several times, but it eventually works and the moldy smell is gone!

Janet