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.

I would like to move folders like 'Pictures', 'Documents', 'Movies' to a different from default under the root of user's home location, preferably into a sub-folder under the same user's home folder.

For example, user/Music would bo to user/stuff/Music

I'd rather not create symbolic likns to moved folders, but change system's behaviour altogether, so it knows where to find those folders.

Please bear in mind that I do not want to move user's home folder - just those ones, say move them all to /Users/[user name]/stuff/ since I don't like them polluting the home folder there.

share|improve this question
    
The best way is to move your whole home directory altogether. Just did that to free some space on my SSD—worked perfectly fine. –  Dan Sep 25 '11 at 22:24
    
Thanks Dan, but I don't actually want to move my home folder, just those ones I mentioned, I'd rather have them under 'Documents' or some other folder, which in its own turn, sits under user's home. I don't really like how those folders pollute the home directory with their presence. –  Art Sep 26 '11 at 10:05
    
If you dislike their presence and don't use them, issue chflags hidden <folder> to hide any of them in Finder. This won't move them of course but I like to hide Public folder, for instance. –  Dan Sep 28 '11 at 15:10
    
I would actually like to keep using them, Dan, although move them. –  Art Sep 29 '11 at 22:24

6 Answers 6

up vote 6 down vote accepted

Art,

Do you have this working successfully?

Have you tried hiding the folders using something like:

chflags hidden ~/Documents 

Then creating a link to it such as (in Terminal):

cd ~
mkdir stuff
cd stuff
ln -s ~/Documents

I believe that this will hide the ~/Documents folder from the Finder but it will still be there so anything writing to it will work OK. In addition you will see the link in ~/stuff...

share|improve this answer
    
That actually sounds very promising, I will give it a shot, thanks man! –  Art May 3 '12 at 3:33
    
Although they are still visible in terminal after 'ls -la', I am glad you suggested this solution which will cover around 90% of cases for me. Thank you! –  Art May 3 '12 at 3:45
    
This is perfect, thanks. It still would be cooler if you could somehow rename them... if the default folder names started with lower case and I'd probably keep them around. –  Nathan Beach Oct 30 '13 at 15:05

I personally use symlinks to move all of those directories under my User account. I logged in as root and symlinked all of my directories "Documents' Downloads " Movies", etc and moved them to an external drive.

Mac OS sees the changes just fine and points to those directories (on the external drive) automatically and I have had no issues doing it this way.

There is a System Service called SymbolicLinker that will add an option to your context menu that will create a symbolic link for you.

enter image description here

How to enable the root user

OS X Lion

  1. From the Apple menu choose System Preferences....
  2. From the View menu choose Users & Groups.
  3. Click the lock and authenticate as an administrator account.
  4. Click Login Options....
  5. Click the "Edit..." or "Join..." button at the bottom right.
  6. Click the "Open Directory Utility..." button.
  7. Click the lock in the Directory Utility window.
  8. Enter an administrator account name and password, then click OK.
  9. Choose Enable Root User from the Edit menu.
  10. Enter the root password you wish to use in both the Password and Verify fields, then click OK.

Mac OS X v10.6.x

  1. From the Apple menu choose System Preferences....
  2. From the View menu choose Accounts.
  3. Click on the lock and authenticate with an administrator account.
  4. Click Login Options....
  5. Click the "Edit..." or "Join..." button at the bottom right.
  6. Click the "Open Directory Utility..." button.
  7. Click the lock in the Directory Utility window.
  8. Enter an administrator account name and password, then click OK.
  9. Choose Enable Root User from the Edit menu.
  10. Enter the root password you wish to use in both the Password and Verify fields, then click OK.
share|improve this answer
    
This is a cool trick. I just thought it would've been nicer if you could expand a little for not-so-power-users? A link on how to enable root account, an explanation on how to launch this System Service would help a lot. –  Dan Sep 25 '11 at 22:43
1  
When you download the service extension, there will be instructions on how to install it. Basically, you just copy SymbolicLinker.service to /Library/Services/, then log out and log back in. –  WrightsCS Sep 25 '11 at 22:55
    
Edited answer with instructions on how to enable root user for Lion and Snow. –  WrightsCS Sep 25 '11 at 23:01
    
Well-written answer, but I have to agree with other users that you will be messing with things that Mac OS X, for good reason, does not want you to mess with, and you may be unnecessarily complicating your system's structure. Please think about this: Is Time Machine going to back up these folders and their contents now that you have moved them to another hard drive? You had better confirm this. –  Wheat Williams Sep 25 '11 at 23:45
2  
@WheatWilliams yes, actually, Time Machine backs up these directories pretty well for me. –  WrightsCS Sep 26 '11 at 1:15

You can move your entire user account (home) folder using the following steps:

  1. Click on Users & Groups in System Preferences.
  2. Unlock the pane (lock icon).
  3. Right click on your selected user and choose the "advanced" option from the list.
  4. You will be greeted by the following screen:

enter image description here

From there, simply select the "home directory" to which you wish to relocate the profile to, then reboot.

Note: This will move all the contents found under /Users/{your user}/ (Downloads, Documents, Music, etc.)

share|improve this answer
    
@chsum: Are you sure the actual contents of Documents, Pictures etc. are moved? I would assume that OSX just creates a new home directory structure in the indicated place, the content must be moved by the user himself afterwards. –  patrix Sep 25 '11 at 16:47
    
cksum, from the way I read the question, the asker does not want to move his entire home folder directory or user account. He wants to retain his home directory but move certain system-defined sub-folders out from under his home folder to remote volumes or places outside his home folder for disk space reasons. –  Wheat Williams Sep 25 '11 at 18:09
    
Just make sure that if you do want to keep your content, first copy the home folder to whatever location you prefer, then change this setting to match the new location. Just changing this setting doesn't copy any files—you'll start clean again. –  Dan Sep 25 '11 at 22:25
    
Also, if that new place is a different drive, make sure to make a second emergency administrator account in case the new drive where your home folder is sitting fails. –  Fomite Sep 25 '11 at 23:54
    
Thanks cksum, but I don't want to move my home folder, just these folders - I just don't like them sitting straight under user's home. –  Art Sep 26 '11 at 10:17

Well, the short answer is: Don't, because too many things depend on it. This is also the reason why Apple choose to make it difficult to rename these folders.

If you want to take the risk anyway, this answer to a somewhat related question should give you some ideas.

share|improve this answer
    
I +1'd this answer, but I also have to say that I strongly agree with this. I understand your desire, but it's a bad idea, and likely just impossible because the OS would just re-create them anyway unless you get into mucking around with things you shouldn't be mucking around with. –  TJ Luoma Sep 25 '11 at 20:25
    
May I disagree? I just seamlessly moved my home folder using this reference so I can save some space on SSD drive. Yes, you can't move individual folders but your post sounds as if moving the entire home folder is hard to do, when it fact it's not. –  Dan Sep 25 '11 at 22:41
    
If there's a reason I don't see it yet - there's a way you can be flexible with these names - for instance in Windows you can always refer to those folders using aliases, i.e. %System% etc. Looks like standard single-minded stubborness with Apple logo to me. –  Art Sep 26 '11 at 10:15
    
Dan, moving the whole home folder is easy (as pointed out already in another answer), renaming specific folder names (which appears to be the original question) isn't. –  patrix Sep 26 '11 at 11:31
    
I would -100 this answer if I could. On my computer I do whatever I want! Including removing the useless directories. –  devin Dec 14 '12 at 17:53

Just move them wherever you like. The only important one is Library and for the rest you can normally choose where apps place stuff.

There's only a few crappy apps that won't allow you to change where they write stuff, Microsoft and Adobe apps come to mind. They will put files in ~/Documents. All the rest will work with your files no matter where you put them.

share|improve this answer
    
I am afraid I didn't make myself clear enough - I don't want to move folders to other drive, I just want them out of sight from the root of home folder (i.e. hidden under some 'Apple junk' folder) –  Art Apr 6 '12 at 21:11

I would not suggest you to move your entire home folder, instead it is better to make symbolic links of your folders to external drive. After that you will get:

  1. Flexibility - if something happens with your external HD (remember that your hidden Library folder is on main drive if HDD is down you will need to do something because it will be down too), you will be able to start repairing it right in that moment without turning it off.
  2. In case if your main drive is SSD - when your home folder is on your main drive it loads up faster, when it would be on external.
  3. If you have Mac Pro - you can set for movies folder one HD, for music folder another HD...
share|improve this answer
1  
I am sorry but this answer is very loosely related to the original question. I specifically do not want to move the home folder or create symbolic links. –  Art Apr 9 '12 at 15:09

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.