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


Groups > comp.sys.mac.system > #133211 > unrolled thread

Apple iCloud paths

Started byAlan Browne <bitbucket@blackhole.com>
First post2020-07-04 11:16 -0400
Last post2020-07-04 20:23 +0000
Articles 4 — 2 participants

Back to article view | Back to comp.sys.mac.system


Contents

  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

#133211 — Apple iCloud paths

FromAlan Browne <bitbucket@blackhole.com>
Date2020-07-04 11:16 -0400
SubjectApple iCloud paths
Message-ID<i31MG.81552$AN2.36811@fx46.iad>
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).

Comments?

[toc] | [next] | [standalone]


#133215

FromLewis <g.kreme@gmail.com.dontsendmecopies>
Date2020-07-04 16:40 +0000
Message-ID<slrnrg1c7r.1llg.g.kreme@ProMini.lan>
In reply to#133211
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.

[toc] | [prev] | [next] | [standalone]


#133225

FromAlan Browne <bitbucket@blackhole.com>
Date2020-07-04 15:35 -0400
Message-ID<2S4MG.47690$9r7.18974@fx07.iad>
In reply to#133215
On 2020-07-04 12:40, Lewis wrote:
> 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

Why do you escape the tilde's?

> 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

My question was about why Apple went to the Library to store Cloud 
documents rather than the simpler approach taken by both Dropbox and MS.

[toc] | [prev] | [next] | [standalone]


#133231

FromLewis <g.kreme@gmail.com.dontsendmecopies>
Date2020-07-04 20:23 +0000
Message-ID<slrnrg1p9a.25ut.g.kreme@ProMini.lan>
In reply to#133225
In message <2S4MG.47690$9r7.18974@fx07.iad> Alan Browne <bitbucket@blackhole.com> wrote:
> On 2020-07-04 12:40, Lewis wrote:
>> 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

> Why do you escape the tilde's?

I didn't, macOS did when i drug the fodler into the finder.

> My question was about why Apple went to the Library to store Cloud 
> documents rather than the simpler approach taken by both Dropbox and MS.

Ah. You;d have to ask Apple why they did that. I suspect they already
had the folder for storing iCloud data from Apps and it made sense to
replicate the structure on the mac, especially since Macs will be
running iOS/iPadOS software,

-- 
Clarke's Law: Sufficiently advanced technology is indistinguishable
	from magic Clark's Law: Sufficiently advanced cluelessness is
	indistinguishable from malice Clark Slaw: Anything that has been
	severely damaged or destroyed by application of Clark's Law

[toc] | [prev] | [standalone]


Back to top | Article view | comp.sys.mac.system


csiph-web