Here you go:
You can move your personal User folder to another volume with a few simple commands in OS X's Terminal application.
Open Terminal and type the following commands:
1
sudo ditto -rsrc "/Users/username" "/Volumes/volumename/Users/username"
2
sudo niutil -createprop / "/users/username" home "/Volumes/volumename/Users/username"
Sudo asks for your password to provide temporary root access, which is necessary for this exercise; volumename is the name of the new volume; and username is the name of your user folder.
The first command (sudo ditto) copies your complete user folder, including all invisible files, to a new user folder on the volume volumename; the -rsrc option ensures that all resource forks are copied. The second command (sudo niutil) basically reassigns your home directory from the original location to the new location. (In fact, this Terminal command does exactly the same thing as using the NetInfo Manager utility to change the location of the property home for your user profile.) At this point you should log out and then log back in to make sure your user folder was copied properly to the new volume and your home folder was properly reassigned. If you're successful, open Terminal again and type the following commands:
3
sudo rm -dr "/Users/username/"
4
sudo ln -s "/Volumes/volumename/Users/username" "/Users/username"
Here, the first command (sudo rm) deletes your original user folder. The second command (sudo ln) creates a symbolic link (similar to an alias in OS 9) from the main Users directory on the boot volume to your new user folder on the new volume (mainly so that it's easier to find your personal user folder, which you'll see in the standard Users directory on the boot volume).
If you want to use this technique to move all user folders, remove /username from the first two commands above. However, you should remove (using the rm command) and link (using the ln command) each user folder individually and leave the main Users folder and the Users: Shared folder alone, because some applications require you to have the shared folder inside the Users folder on the boot volume.
Original Link:
http://www.macworld.com/2002/06/secrets/osxsecrets/