If you have any iTMS purchases the transfer of purchased content from the iPod to authorised computers has been introduced with iTunes 7 A paragraph on it has been added to this article:
Transfer iTunes Store purchases using iPod
The transfer of non iTMS content such as songs imported from CD is designed by default to be one way from iTunes to iPod. However there's a manual method of copying songs from your iPod to your Mac. The procedure is a bit involved but if you're interested it's available at this link:
Two-way Street: Moving Music Off the iPod
If you prefer something more automated there are a number of third party utilities that you can use to retrieve music files and playlists from your iPod, this is just a selection. I use Senuti but have a look at the web pages and documentation for the others too, you'll find that they have varying degrees of functionality and some will transfer movies, videos and photos as well. You can also read reviews of some of them here:
Wired News - Rescue Your Stranded Tunes
Senuti Mac Only
iPodRip Mac Only
PodWorks Mac Only
PodView Mac Only
iPodAccess Mac & Windows
YamiPod Mac & Windows
PodUtil Mac & Windows
iPodCopy Mac & Windows
If your iPod is set to update automatically take care when connecting back to your computer and an empty iTunes. You will get a message that your iPod is linked to a different library and asking if you want to link to this one and replace all your songs etc, press
"Cancel". Pressing "Erase and Sync" will irretrievably remove all songs from your iPod. Your iPod should appear in the iTunes source list from where you can change the update setting to manual and use your iPod without the risk of accidentally erasing it. Check the "manually manage music and videos" box in Summary then press the Apply button. Don't uncheck Sync Music it will be unchecked by default when you choose the manual setting:
Managing content manually on iPod
Keep your iPod in manual mode until you have reloaded your iTunes and you are happy with your playlists etc then it will be safe to return it auto-sync again.