I want to add my Downloads folder to my iCloud Drive so that it can sync just like Sierra syncs with the Documents and Desktop folder.
Can this be done?
Ask Different is a question and answer site for power users of Apple hardware and software. It only takes a minute to sign up.Sign up to join this community
Similar answer to one of the others, but in this case I've used a symbolic link to do this rather than use the GUI to create an apple 'Alias', just to be sure it works in all cases.
Rather than add the original Downloads folder into iCloud, I've relied on the standard 'Documents and Desktop' sync option provided by Apple in iCloud without messing around in the background where those files are accessible (
~/Library/Mobile\ Documents/com~apple~CloudDocs/) as I'm not confident that adding links in there is a good idea long term.
In terminal (or iTerm2 if you want a more customisable terminal):
~/Downloadsdirectory to the new Downloads directory:
mv ~/Downloads ~/Documents/Downloads
sudo rm -rf ~/Downloads/
ln -s ~/Documents/Downloads ~/Downloads
All those commands again, but without all the extra words :)
mkdir ~/Documents/Downloads mv ~/Downloads ~/Documents/Downloads sudo rm -rf ~/Downloads/ ln -s ~/Documents/Downloads ~/Downloads
You will probably have to drag the new Downloads link (or folder) in Finder to the Favourites section/left menu if you want it to display there once more.
Here's how I did it on mine.
You have to understand that as of September 24, 2017, iCloud only allows
Documents folder to stored on iCloud. Eg. you cannot select yet additional folders you want to be synced to iCloud.
So, I chose to sync my
Downloads folder by storing it in
Documents folder because had I put it in iCloud-synced
Desktop folder, the
Downloads folder would be visible on my Desktop.
Downloads folder is protected by macOS from changes (such as a rename on Finder), but if you can use the
Terminal app to circumvent this.
Downloadsfolder into this newly created
Downloadsfolder located under
Downloadsfolder (keyboard shortcut is:
L). It will be automatically be named
Downloads aliasby macOS
Download aliasunder your home directory. Eg.
Now, all files saved through
Downloads (alias) will be stored under iCloud-synced
You could create an 'Alias' of your 'Downloads' folder and move it to iCloud Drive.
To do this:
You can now remove the word 'Alias' from the name of the folder in iCloud drive if you'd like. There is no real technical reason for it to be there other than to remind you that it's an alias and not the original folder.
Using Aliases and Symbolic Links may not work. On one of my Mac's, Finder replaced the symbolic link with an empty folder upon reboot. The only way I've been able to consistently do this is to create a directory hard-link. This is not possible with the default OS X command line as
ln won't work if you're doing a hard-link to directories.
In order to do this, you need to install Brew and install the hardlink-osx package. Though, before doing so one should consult this question from Ask Ubuntu, as I think this function is disabled in all versions of the
ln command. Now, I had issues even with a hard link because the operating system did not notify the sync agent that a file in
~/Documents/Downloads had been altered because the OS call to the file system was for
~/Downloads and sometimes the sync finder extension did not seem to let the iCloud sync engine know there were changes to upload when a new file was downloaded or modified.