Exporting iTunes library to external hard drive

Okay, soo my computer's memory is full and I want to clean it out. I was wondering if it's possible to export my itunes library on a 1TB external hard drive, delete all the music off the computer than be able to sync my ipod while my hard drive is plugged in. Thanks
 
Back