Get File from Folder

🗃

Gets a file or folder by a relative path, starting at a folder you choose. Path The relative path to retrieve, such as “folder/file.txt”

Score
Stage
Prompt
Type
5
5/5

Information

Parameters

Get file from [Folder] at path [example.txt]

Error If Not Found [Toggle]

Input

Files

Result

Files, Folders

Comments

While the Get File action has existed in Shortcuts since it became an Apple app, the action was built using the publicly-available developer APIs that limited access to its own iCloud Drive folder as it had when the app was Workflow.
Since then, accessing any file across the filesystem has been a common request for Shortcuts users – if it’s an Apple app, why does it have the same limitations?
Now, that day has come, and the Files actions can “get” files from any folder – the action lets you “replace” the Shortcuts folder with any other folder that’s available via the iOS document provider APIs (apps like Dropbox and Google Drive work too).
Plus, users can even use Variables to specific which folder, allowing for scriptable file paths that are generated (or regenerated) in the course of a shortcut running – there’s some fancy possibilities here.

Details

Score
5/5
Date Added
07/06/2021
Stage
Type
Identifier
is.workflow.actions.documentpicker.open

Works Well With

Shortcuts Using This


Get more ways to browse the actions – become a member.