If you want to recover your files from ipod then this previous pst should help
1). If your iPod is set to update automatically you need to take care connecting to an empty iTunes. You can also use a keyboard command to prevent your iPod auto-syncing with iTunes. While connecting the iPod to the computer on a Mac hold down the Option and Command (⌥ and ⌘ Apple) keys together. This will stop the iPod from auto-syncing with iTunes and it will appear in the source list. Wait until you are sure the iPod has mounted, and that it will not auto sync and then you can let the keys go: iTunes for Mac - Keyboard Shortcuts
Alternatively open iTunes first and go to Edit>Preferences>Devices and check the box "Disable automatic syncing for iPhones and iPods" and choose Ok. Then connect your iPod.
2). If you have full resolution copies of the photos on the iPod have a look here: Apple Knowledge Base article - Use Disk Mode to copy photos from iPod
If not, there are a few programs out there for recovering photos from an iPod, have a look at the ones below. If you search the internet you can find more. Just be aware that what you'll be recovering will be photos optimised for the iPod so they won't be the same quality as the original full resolution versions:
Keith's iPod Photo Reader Mac only
iPod Photo Liberator Mac & Windows
TouchCopy Mac and Windows Versions (iPhone and iPod Touch compatible)
3). There are also few things you can do to restore your music to iTunes from the iPod. If you only want to copy your purchases to the computer that can be done using iTunes, you'll find details in this article: Copying iTunes Store purchases from your iPod or iPhone to a computer
For everything else (including purchases) there are a number of third party utilities that you can use to retrieve the music files and playlists from your iPod. I use Senuti but have a look at the web pages and documentation for the others too. You can read reviews and comparisons of some of them here (you'll find that they have varying degrees of functionality and some will transfer movies, videos, photos and games as well):
Wired News - Rescue Your Stranded Tunes
Comparison of iPod managers
A selection of iPod to iTunes utilities:
Senuti Mac Only (iPod Touch & iPhone compatible)
PodView Mac Only
PodWorks Mac Only
iPodDisk PPC Mac Only (experimental version available for Intel Macs)
TuneAid Mac only (iPhone and iPod Touch compatible)
YamiPod Mac & Windows
iPod Music Liberator Mac & Windows (iPhone and iPod Touch compatible)
iPodRip Mac & Windows (iPhone and iPod Touch compatible)
iPod Music Liberator Mac & Windows (iPhone and iPod Touch compatible)
iGadget Mac & Windows (iPhone and iPod Touch compatible)
Floola Mac & Windows
Music Rescue Mac & Windows (iPhone and iPod Touch compatible)
iRepo Mac & Windows (iPhone and iPod Touch compatible)
iPod Access Mac & Windows (iPhone and iPod Touch compatible)
TouchCopy Mac & Windows (iPhone and iPod Touch compatible)
There's also a manual method of copying songs from your iPod to a Mac or PC. The procedure is a bit involved and won't recover playlists but if you're interested it's available on page 2 at this link: Copying Content from your iPod to your Computer - The Definitive Guide
4). I would also advise that you get yourself an external hard drive and back your stuff up, relying on an iPod as your sole backup is not a good idea and external drives are comparatively inexpensive these days, you can get loads of storage for a reasonable outlay: Back up your iTunes library by copying to an external hard drive