Access iCloud Drive Through the Terminal

December 29, 2014
screen-shot-2014-12-29-at-6.36.46-pm

Along with OS X Yosemite (10.10) came iCloud Drive >—the ability to store pretty much anything in Apple’s cloud.

It normally lives nicely in the sidebar for easy access, but reaching it via the command line isn’t intuitive.

To do so, simply navigate to Mobile Documents under your Library directory, like so:

$ cd ~/Library/Mobile Documents

I personally create a link in my home directory to there called iCloud, so I can navigate more quickly.

$ cd
$ ln -s ~/Library/Mobile Documents iCloud

And for one additional step of customization, I also created an alias to jump there:

$ alias i="cd ~/iCloud/"

Enjoy.

supporting = loving

Since 1999 I've been creating ad-free technical tutorials and essays here. It's a one-person effort that's also my life and livelihood. If it makes your day more livable in any way, please consider supporting the work with a monthly or one-time donation. Your support means a lot to me, and makes all the difference. 🫶🏼