Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.sys.mac.system > #133215

Re: Apple iCloud paths

From Lewis <g.kreme@gmail.com.dontsendmecopies>
Newsgroups comp.sys.mac.system
Subject Re: Apple iCloud paths
Date 2020-07-04 16:40 +0000
Organization Miskatonic U
Message-ID <slrnrg1c7r.1llg.g.kreme@ProMini.lan> (permalink)
References <i31MG.81552$AN2.36811@fx46.iad>

Show all headers | View raw


In message <i31MG.81552$AN2.36811@fx46.iad> Alan Browne <bitbucket@blackhole.com> wrote:

> I write s/w for my personal use and for work.  Both, in some cases 
> read/write files on Dropbox.  The path is something like:

> /Users/Meguy/Dropbox/Persfin/Afile.dco

> Likewise with MS OneDrive the path would be like:
> /Users/Meguy/OneDrive/Persfin/Afile.dco

> On the other hand, Apple is quite different... as I've moved a lot of 
> files from Dropbox to iCloud and had to make minor changes to code, I 
> discovered the path is like:

> /Users/Meguy/Library/Mobile 
> Documents/com~apple~CloudDocs/DroneStuff/MavicForceVectors.txt

> Typically the Library is used for support information for apps and other 
> things. (settings, caches, app files and so on).  Not to store user 
> files directly - that is files the user might manipulate with Finder. 
> (ie to move some files from one folder to another).

There are two forms of paths to iCloud Drive folders.

Folder I created on iCloud Drive:
~/Library/Mobile\ Documents/com\~apple\~CloudDocs/Movies

Folder created by Apple.
~/Library/Mobile\ Documents/com\~apple\~Pages/Documents 

There are also the Documents and Desktop folders, which are 

~/Documents/ 
~/Desktop/

> Comments?

There are a lot of other folders in ~/Library/Mobile\ Documents/ that do
not show up in the GUI (254 in my Terminal, 70 shown in the Finder).

I find that a link helps with scripting access to my iCloud Drive.

ln -s ~/Library/Mobile\ Documents/com\~apple\~CloudDocs ~/iCloud

-- 
Far away, across the fields, the tolling of the iron bell calls the
	faithful to their knees to hear the softly spoken magic spells.

Back to comp.sys.mac.system | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Apple iCloud paths Alan Browne <bitbucket@blackhole.com> - 2020-07-04 11:16 -0400
  Re: Apple iCloud paths Lewis <g.kreme@gmail.com.dontsendmecopies> - 2020-07-04 16:40 +0000
    Re: Apple iCloud paths Alan Browne <bitbucket@blackhole.com> - 2020-07-04 15:35 -0400
      Re: Apple iCloud paths Lewis <g.kreme@gmail.com.dontsendmecopies> - 2020-07-04 20:23 +0000

csiph-web