Move documents folder to icloud drive?

Discussion in 'OS X Yosemite (10.10)' started by kristoffer4, Dec 28, 2014.

  1. kristoffer4 macrumors 6502a

    kristoffer4

    Joined:
    Jan 17, 2006
    Location:
    Denmark
    #1
    Hey. Merry Christmas. :)

    I can only copy my documents folder to icloud drive? I want to move there instead. That way when I make changes to my documents they will sync automatically. Can this be done? :confused:
     
  2. rctlr macrumors 6502a

    rctlr

    Joined:
    May 9, 2012
    #2
    Yes.
    Move the Documents Folder to your iCloud Area:
    Open Terminal and run the following (changing the yourusername bit to your username) :

    mv ~/Documents /Users/{yourusername}/Library/Mobile\ Documents/com~apple~CloudDocs

    That moves your Documents Folder to you iCloud Folder, and it's best to make a symbolic like back into the normal place so that applications find it easily. From the same Terminal window run the following:

    ln -s /Users/{yourusername}/Library/Mobile\ Documents/com~apple~CloudDocs/Documents ~/Documents

    and if all is ok you should have something like this if you type in

    ls -l ~/

    lrwxr-xr-x 1 rocutler staff 70 20 Jul 18:15 Documents -> /Users/USERNAME/Library/Mobile Documents/com~apple~CloudDocs/Documents

    Hope this helps.
     
  3. jbarley macrumors 68030

    jbarley

    Joined:
    Jul 1, 2006
    Location:
    Vancouver Island
    #3
    rctlr
    good answer, just the kind of help the OP needed, 2 years ago. :rolleyes:
     

Share This Page