Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

While attempting to clean up my Air's SSD, the estimable DaisyDisk showed me that 4 GB is being eaten up by Xcode DocSets. I like keeping my friends close and my SDK documentation closer, so I'd be happiest if I could maintain a copy of these DocSets on an external disk, so they're available offline but not cluttering my SSD.

The DocSets currently exist at ~/Library/Developer/Shared/Documentation/DocSets. Is it possible to move the .docset files themselves to a different location (perhaps symlinking to them) without breaking Xcode's doc viewer?

share|improve this question

1 Answer 1

In Terminal, run

mv ~/Library/Developer/Shared/Documentation/DocSets /Volumes/HDNAME
ln -s /Volumes/HDNAME/DocSets ~/Library/Developer/Shared/Documentation/DocSets

This may take a few minutes to complete.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.