Moving files to new user profile in Mac OSX

Hi Guys,
I have a Mac that was assigned to a user that no longer works with us.
A new user has been assigned this Mac and it is going to do the exact same job as the previous user.

Normally I would just create the new user profile and copy whatever information from the old profile to the new one, but in this case we are talking about 150GB worth of information, and to make matters worst there are only 15GB of free space in the computer.

If this was Windows I would simply move all these files to the new profile.

So the question is:
How can I MOVE files between user profiles in Mac OS X.
The Mac OS X is "EL CAPITAN" if that makes any difference.

Thanking you in advance.




Now the question is:
How can I move
cargexAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

strungCommented:
You could just keep the existing user profile after cleaning it out as follows:

Delete the corresponding keychain using the keychain Access app (found in /Applications/Utilities). Use the freeware ONYX (http://www.titanium.free.fr/onyx.html) to delete all caches and cookies. Delete the contents of the desktop folder and the documents folder.

Follow the instructions here to rename the user profile and home folder:

https://support.apple.com/en-us/HT201548

Then change the user admin password.
cargexAuthor Commented:
Mr. Strung,
Thanks for your comment but there is a risk that at the end there could be issues with the profile.

Is it impossible to move a file in Mac OSX ???
strungCommented:
Log in as the old user. Create a temporary file at the root of the hard drive. Move everything you need into the temporary file.

Log out and log back in as the new user. Move everything from the temporary file into wherever you want it in the new user profile.
The 7 Worst Nightmares of a Sysadmin

Fear not! To defend your business’ IT systems we’re going to shine a light on the seven most sinister terrors that haunt sysadmins. That way you can be sure there’s nothing in your stack waiting to go bump in the night.

cargexAuthor Commented:
And how do you move files?
I tried drag and drop and it tried to copy.
strungCommented:
Drag and drop should move files unless you are trying to move them to an different volume.
serialbandCommented:
Drag and drop from within the same account that you're copying to or copying from can cause data corruption if files are open and in use.  You should generally use a 3rd admin account for this type of move.

Create the new user account.
Log in as a different admin account or create a temporary admin account and Log in.
You should have 3 accounts.  The old account, the new account and a 3rd admin account to move the files.

Open Terminal.app and run the following command.
  Move the profile from the old account to the new one.
    sudo mv  ~old_account/Library ~new_account/
  If you want all the content, including Documents and Downloads, etc....
    sudo mv  ~old_account/* ~new_account/
  If you want all the trash folders too.  (These are hidden from view)
    sudo mv  ~old_account/{*,.??*} ~new_account/

Once you're done, you need to recursively change the ownership of all the files and folders inside the new_account folder.
   sudo chown -R new_account ~new_account

Have the new user log in.

You can then delete the old account once you're satisfied that the move was done correctly.  This should be fully reversible if you change your mind.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Tim LapinComputer Consultant (Desktop analyst)Commented:
Another option  would be to use the "Shared" folder found inside the "Users" folder.  The idea is to move the files to an area that is accessible to both users.  Then the new user can drag the stuff from the Shared folder to his/her account.

As with the previous suggestions, you can then delete the old account when satisfied with the data move.
David AndersTechnician Commented:
Laptop?  15Gb free space is getting near the recommended free space needed by the OS.
10 to 15 per cent free space on a boot drive is common wisdom.
Performance suffers when the OX runs out of drive space.
cargexAuthor Commented:
Mr. Serialband,
Some time I forget what the "X"  in Mac OSX stands for.
Thank you very much!
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Mac OS X

From novice to tech pro — start learning today.