stash icon indicating copy to clipboard operation
stash copied to clipboard

ICloud

Open hlovatt opened this issue 5 years ago • 2 comments

Hi,

How do you access iCloud files from stash?

Thanks for any help,

— Howard.

hlovatt avatar Mar 13 '19 22:03 hlovatt

Make below tiny pwd script on iCloud:

import pathlib
pathlib.Path.cwd())

Then run the pwd script on your iDevice, and it will tell you the location of the iCloud folder on your iDevice. For me, this is:

/private/var/mobile/Library/Mobile Documents/iCloud~com~omz-software~Pythonista3/Documents

In StaSh, you can then cd to the folder, and do whatever you want. Note you need to escape the space in the path .../Mobile\ Documents/... when cd'ing.

Dutcho avatar Mar 24 '19 22:03 Dutcho

Many thanks. That work great.

-- Howard.

On 25 Mar 2019, at 9:02 am, Dutcho [email protected] wrote:

Make below tiny pwd script on iCloud:

import pathlib pathlib.Path.cwd()) Then run the pwd script on your iDevice, and it will tell you the location of the iCloud folder on your iDevice. For me, this is:

/private/var/mobile/Library/Mobile Documents/iCloud~com~omz-software~Pythonista3/Documents In StaSh, you can then cd to the folder, and do whatever you want. Note you need to escape the space in the path .../Mobile\ Documents/... when cd'ing.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

hlovatt avatar Mar 25 '19 21:03 hlovatt