I have an iPod Touch 4th generation running on iOS 4. For various reasons, I don't have a copy of all my songs on my computer running Windows 7 with iTunes 11. Is there a way to export my whole library, which contains both songs purchased on iTunes and songs ripped from CDs, to iTunes or elsewhere on my computer?
The only means I have ever found of doing this is third-party software. I have used Senuti for this, and can confirm that it works.
The current version of Senuti: http://www.fadingred.com/senuti/. The free trial version allows you to restore up to 1000 songs. There is also a fully-free version from 2008 [MD5 (Senuti.0.52.dmg) = e84ebf4614ded95c53dc750492297c87] at http://wstein.org/senuti/, but though the source code is available (there and at SourceForge), it has not been maintained, and I have not confirmed that it still works. (You can get an older version from the developer, too.)
There is also TouchCopy: http://www.wideanglesoftware.com/touchcopy. It appears to be very complete but is expensive, and the trial version is more limiting than is that of Senuti.