The Store in iCloud function that was introduced with macOS Sierra looks interesting to try out. It will store both the Desktop and the Documents folders in iCloud Drive instead of on the local drive.

I want it to store only the Desktop folder in iCloud, and not the Documents folder. Is this possible?

I noticed that by turning On and Off the Store in iCloud function, the files that had already been transfered to iCloud Drive (when the function was originally turned On) stayed there – and empty folders called Desktop — Local and Documents — Local were created in the user home directory.

So is it possible to make use of this circumstance, to keep only Desktop files in the iCloud? Will applications that make use of the Documents folder decide to use the iCloud folder or the local folder?

  • 1
    Also in the documents folder there's a bunch of stuff I'll never need on any other device. I.e. some video games or Adobe are using it to store data. – fancy Sep 21 '16 at 13:52
  • 1
    @fancy Not to mention that games etc will store user configurations here that can conflict with another computer's settings. – Winterflags Sep 21 '16 at 13:54
  • 1
    Have you considered renaming your Documents folder to something else? As far as I am aware there isn't anything particularly special about the Documents folder. You could have a Documents folder and a LocalDocuments folder and populate as required.... – Michael Rourke Jan 12 '17 at 2:33
  • Consider creating a "Documents II" folder, and keeping all the stuff you want local-only in there. Habit will cause you to use it routinely after a while. – Wayfaring Stranger Feb 16 '17 at 20:19

Doesn't look like there's a way to single out the Desktop via the 'Manage Storage' GUI.

However, you can always just symlink any directory from your iCloud drive; that way you can ensure that only the Desktop folder is being synced. This is with the caveat that while your Desktop files are being stored in iCloud, they're still taking up space on your HD before, during, and after sync. If you do it on every Mac then you'll keep your Desktop in sync between them all (files added, deleted, changed etc); this might not be what you're after though.

If symlinking isn't something you know how to do, instructions are below.

Backup (via TimeMachine or whatever you use).

Then fire up Terminal and run the following to move your Desktop folder into your iCloud Drive:

mv ~/Desktop /Users/<yourusername>/Library/Mobile\ Documents/com~apple~CloudDocs/

Then just symlink it to the usual 'Desktop' location:

ln -s /Users/<yourusername>/Library/Mobile\ Documents/com~apple~CloudDocs/Desktop /Users/<yourusername>/Desktop

Now anything that you add to ~/Desktop (by dropping things onto your desktop etc) will actually be dropped into your iCloud drive. They are of course still taking up local space on your machine. When you delete something from your desktop then it's gone from the 'Cloud' as well. The benefits of this are more for sync between machines (+ access via your iPhone of course).

If you've got another mac, move anything you value from it's desktop folder into your iCloud Drive 'Desktop' folder first, then delete ~/Desktop on that machine and symlink again as above.

  • Thanks, I tried this but strangely after symlinking, I got two aliases on the local Desktop named ⤴Desktop and ⤴Mobile instead of the contents of the Desktop folder now in iCloud. The aliases doesn't lead anywhere. – Winterflags Mar 5 '17 at 15:12
  • 1
    @Winterflags did you escape the spaces in the filepaths as in my answer? A 'Mobile' folder would suggest you didn't use a backslash.. also make sure you use full paths (i.e. starting /Users/). – py4on Mar 5 '17 at 15:16
  • You're right – there was a missing escape character. Thanks :) – Winterflags Mar 5 '17 at 15:23
  • No idea why Apple named the folder with a space - it can be a real nightmare in Bash files. If you've ever tried to keep Python virtualenvs in sync via iCloud you will know this well! – py4on Mar 5 '17 at 15:26
  • It seems like you will need to add "sudo" in the first command after high sierra. – Rho Feb 1 '18 at 13:38

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .