Forum Archive

Running StaSH in iCloud Sync'd Folder

broepke

Greetings. I'm using Pythonista 3 with Working Copy and therefor syncing GitHub Repos with iCloud. I have a Flask based project and I want a terminal where I can get to the directory where the Project is running. However, when I cd to the it seems that the iOS files app is isolating that director and I can't get to iCloud.

Any help? Tips?

JonB

What path are you trying to cd to? Im not sure if iCloud is a normal folder, or if it is, it will be located in ~/Library/MobileDocuments

cvp

I access to my MyFolder on iCloud Drive by

'/private/var/mobile/Library/Mobile Documents/com~apple~CloudDocs/MyFolder/' 
broepke

That totally worked. I used a script to get that folder (suggested on another post)

save this as a python file and run it:

import editor
print(editor.get_path())

and you get a path similar to above. just change to that directory. (in quotes).

Thanks!