I am appending text to a file located in Shortcuts folder using a shortcut on iPhone. I want to access the contents of this file from a Python script on Mac like any other text file. I am unable to locate the path of the file. The command ll ~/Library/Mobile\ Documents/com~apple~CloudDocs/ is not listing the Shortcuts folder but is listing the folders I have created in iCloud Drive.

1 Answer 1


The Shortcuts folder is:

~/Library/Mobile Documents/iCloud~is~workflow~my~workflows/Documents

You can get this path by navigating to the file you want to work with in Finder and right clicking > hold Option and click "Copy < filename > as Pathname"

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .