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: Taper on Nov 28, '05 08:42:46AM
To get around the need for those dangerous-looking rms, you can change
rm iTunes\ Library
rm iTunes\ Music
ln -s $opposite_lib iTunes\ Library
ln -s $opposite_music iTunes\ Music
to
ln -sf $opposite_lib iTunes\ Library
ln -sf $opposite_music iTunes\ Music
The -f flag forces the creation of the new symbolic link over the old one; unlike the rm, this can only replace a file that's already a symlink.

[ Reply to This | # ]
Switch between two iTunes Libraries
Authored by: efge on Nov 28, '05 05:40:31PM

That's not true, ln -sf will happily overwrite a normal file.



[ Reply to This | # ]