Make A Symbolic Link to Your iCloud Drive

| apple |

If you use iCloud Drive to store documents and also use the terminal quite a bit, it might be handy to add a symbolic link to iCloud into your home directory. This will allow you to easily make your way around your iCloud files from a terminal.

You can do this with these steps:

  1. Open up a terminal
  2. Run the following command
ln -s "/Users/$USER/Library/Mobile Documents/com~apple~CloudDocs" iCloud

Note: the quotes above are important since there is a space in the directory path.

If you run ls, you will now see a folder called iCloud which is a symbolic link to your iCloud drive.

Next time that you need to scp a file from your iCloud Drive to some server, rather than googling the path to your iCloud folder, you can simply cd into it and go to town.

Thank you for reading! Share your thoughts with me on bluesky, mastodon, or via email.

Check out some more stuff to read down below.

Most popular posts this month

Recent Favorite Blog Posts

This is a collection of the last 8 posts that I bookmarked.

Articles from blogs I follow around the net

Day 003 - Tick-tock at the uni

Post [003/100] of the #the100pics challenge. Post clock at Bloomington University, June 5th, 2026

via Martin Morales July 16, 2026

Kids need to explore the world and that includes social media

I've written a number of times about what has become conventional wisdom – spread primarily by academics like Jonathan Haidt – that phones and/or social media are evil, and that they cause teenagers in particular to develop anxiety, depression, etc. and th...

via The Torment Nexus July 16, 2026

Workshop Basel day two

If you missed it. I already described day one. Caffeinated and ready, we all gathered in the same spacious room as yesterday, but seated in new places as “suggested” by our captain. Some of us even remembered to move over the name tags we wrote yesterday t...

via daniel.haxx.se July 15, 2026

Generated by openring