Get Contents of Folder

🗂

This action gets the files inside of the specified folder. Recursive If this option is enabled, this action will get all the files inside of a folder, including its subfolders.

Score
Stage
Prompt
Type
5
5/5

Information

Parameters

Get contents of folder [Folder]

Recursive [Toggle]

Input

Files

Result

(Files) The folder contents

Comments

In addition to grabbing a specific file, the Get Folder Contents allows Shortcuts users to extract all the files included in a folder, including recursively (meaning it can extract the contents of a folder it finds inside as well).
This action is just as if not more powerful than Get File, because now Shortcuts users can operate on entire folder structures they’ve created, performing changes to entire directories or unpacking a filesystem in a completely scripted fashion.

Details

Score
5/5
Date Added
07/06/2021
Stage
Type
Identifier
is.workflow.actions.file.getfoldercontents

Works Well With

Shortcuts Using This

Gets the contents of Pixelmator Photos’ iCloud Drive and asks which file to open.
Presents the contents of the Keynote folder and opens the chosen presentation in the app.
Pulls your Numbers spreadsheets from Files and opens the chosen you choose in the app.
Grabs files from Pages in iCloud Drive and opens one of your choosing.
Presents Bywor’ds documents from iCloud Drive and opens your choice in the app.
Grabs the GarageBand for iOS folder and asks you to pick a file to open.


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