iOS file paths for use in Shortcuts

Hey team!


Is there an easy / user accessible way to copy Shortcut-friendly file paths to files stored on iCloud Drive (iOS)?


Longer version:


I'm using the Shortcuts v2 app on my iPhone. I've made a standard shortcut to books stored in the Shortcuts folder on my iCloud drive, and accessible on iOS using Files. The shortcut uses the Get File > Open in iBooks options. I specify the file path in "Get File" and then use this as input for the "Open in" option. In short (lol), the shortcut finds the epub/pdf stored on iCloud/Files and opens it in iBooks - as planned!


However, the books I am "getting" are organised by author and title, so typing out the file paths takes forever. Tthe books are actually organised by Calibre (on my Mac), so the paths follow the Calibre library system. They have the following format: "Shortcuts/Books/Author Name (###)/Book Title/Book Title - Author Name.extension. I don't want to have to type this on my iPhone for every book that gets a shortcut!


Ideally, I could just locate the book in Files, copy the path (as you would in e.g. Finder) and paste it into the workflow. Unfortunately the Files app on iOS does not seem to have a feature for snagging file paths that are usable by Shortcuts. Any ideas?

iPhone 6s, iOS 12.0.1

Posted on Oct 10, 2018 5:06 AM

Reply

Similar questions

There are no replies.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

iOS file paths for use in Shortcuts

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.