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

Weekend Update #12

The weekly update, plus bits and bobs that caught my attention this week.

via ODonnellWeb March 30, 2025

Katherine Yang

Artist, developer, crafter

via Uses This March 30, 2025

"An off switch? She'll get years for that."

Vizio: "Please enjoy falling asleep to these calming nature scenes, occasionally punctuated with unhinged fascist rants. As a treat." I left the tv idle while I went to the other room to play with my dog. After about a half an hour, I started heari…

via jwz March 29, 2025

Generated by openring