Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Switch between two iTunes Libraries' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Switch between two iTunes Libraries
Authored by: sweth on Nov 28, '05 08:45:57AM
This seems way over-complicated. Why muck around w/ multiple files within the ~/Music/iTunes dir, vs. just pointing that dir itself somewhere else? To fix the problem w/ rm-ing the Library potentially being dangerous, just wrap those lines in a block that tests if the thing being rm-ed is a link or not:

if [[ -h /thing/to/be/relinked ]] ; then
   rm /thing/to/be/relinked
   ln -s /new/destination/for/link /thing/to/be/relinked
else
   echo "/thing/to/be/relinked isn't a link!" > /dev/stderr
   exit 1
fi


[ Reply to This | # ]
Switch between two iTunes Libraries
Authored by: windrag on Nov 28, '05 09:49:49AM
Doug Adams excellent iTunes Library Manager does this with a GUI, and you can name your Libraries. I've used it for a couple of years and swear by it. It will manage 2 Libraries for free or more for $5.

---
Ryk A. Groetchen | 700MHz iBook 16 VRAM G3 | 640MB RAM | OS X 10.4.1

[ Reply to This | # ]