Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

kristoffer4

macrumors 65816
Original poster
Jan 17, 2006
1,024
144
Denmark
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:
 

rctlr

macrumors 6502a
May 9, 2012
738
175
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.
 
  • Like
Reactions: kristoffer4

jbarley

macrumors 601
Jul 1, 2006
4,023
1,895
Vancouver Island
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.
rctlr
good answer, just the kind of help the OP needed, 2 years ago. :rolleyes:
 
  • Like
Reactions: kristoffer4
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.