Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

A4orce84

macrumors 6502
Original poster
Apr 17, 2012
434
46
Hey Everyone,

I installed an SSD recently, and am curious if there any way I can change the location of the Documents folder thats in the home folder? I have these exact folder names on another drive (my data drive) but was wondering if there is a way i can get the official folders pointing to the other hd so I can click on "documents" in finder and go to the correct location on my data drive?

Thanks.
 
Open Terminal. Type this:
Code:
 mv ~/Documents/ /Volumes/EXTERNALDRIVE/Documents/

[enter]

ln -s /Volumes/EXTERNALDRIVE/Documents/ ~/Documents
 
That's only if the folders are named the same right? What if my "real" folder with all my documents are called "My Documents" ?
 
Does 'mv' work across drives these days? If so, that's actually pretty nice.

Back in the day, you'd have to use 'cp' then delete the source files.
 
You can name the Documents folder whatever you like, just as long as the symlink in your user folder is named Documents. If it isn't, Mac OS X will simply recreate the Documents folder.

I've used the mv command to move folders and files between drives in OS X before without it complaining. Way back to Tiger or Leopard I believe.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.