Create New User Account And Transfer File

Discussion in 'macOS' started by Michaelgtrusa, Aug 16, 2010.

  1. Michaelgtrusa macrumors 604

    Michaelgtrusa

    Joined:
    Oct 13, 2008
    Location:
    Everywhere And Nowhere
    #1
    Hello members,


    Today is the day i'd like to create a new user account and transfer all my files to that account. The problem? i've never tried this before! I will need step by step instuctions please.
     
  2. phatqao macrumors member

    phatqao

    Joined:
    Jul 20, 2010
    Location:
    PA and/or NYC
    #2
    could you be a bit more specific about your intended result? for example, do you want to move your data to another computer, or only change some aspect of your existing account?

    the short answer is this:
    1. open Applications/System Preferences
    2. select Accounts
    3. click the '+' under the list of accounts
    4. once the account is created, open applications/utilities/terminal
    5. in the terminal, type
    Code:
    sudo mv -v /Users/<youroldaccount> /Users/<yournewaccount>
    6. log in to your new account
     
  3. maflynn Moderator

    maflynn

    Staff Member

    Joined:
    May 3, 2009
    Location:
    Boston
    #3
    The OP may need to adjust the permissions on the moved files, i.e., it still retains ownership of the old account. I suggest type man chown to see the syntax of the command in a terminal window. At the very least should work.
    Code:
    chown -R [i]Owner[/i] { File ... | Directory ... }
    
     
  4. Michaelgtrusa thread starter macrumors 604

    Michaelgtrusa

    Joined:
    Oct 13, 2008
    Location:
    Everywhere And Nowhere
    #4
    I wanted to move all files to a new account to get around a problem and i'm hoping it's not complicated to do so. Adjusting permissions? Terminal commands? I'm confused.
     
  5. phatqao macrumors member

    phatqao

    Joined:
    Jul 20, 2010
    Location:
    PA and/or NYC
    #5
    the command i mentioned is an easy way to move files between accounts...if you tried some other ways, you'd run into permissions issues - i.e. files created by your old account may not be viewed by your new account. the "sudo" bit in the command overrides this permission problem. also, good call maflynn, i forgot that using chown would also be important - that is, you need to change the owner of the files in order to ensure that they are fully functional in your new account
     

Share This Page