Filter Files

shortcuts-action-icon-file.webp

Given a list of files, this action returns the files that match the given criteria. Allows for sorting, changing the order, and limiting the number passed as a result.

Score
Type
InterActivity
Expertise
3/5
Type
InterActivity
Expertise

Action Information

Parameters

Filter [Files]
+ Add Filter
– [File Size/File Extension/Creation Date/Last Modified Date/Name] [is exactly/is not exactly/is larger than/is larger than or equal to/is smaller than/is smaller than or equal to] [anything] [bytes/KB/MB/GB/TB/PB/EB/ZB]
– Sort by [File Size/File Extension/Creation Date/Last Modified Date/Name]
– Limit: [Toggle: +/-]

Input

(Files) The files to filter through.

Result

(Files) The files that match the criteria.

Details

Type
Interactivity
Expertise Needed
Matthew's Score
3/5
Category
Date Added
12/02/2015
Identifier
is.workflow.actions.filter.files

Notes

Sort by
Optionally, what to sort the files by.

Order
The order to sort the files in.

Limit
Whether or not to limit the number of files that are passed as output.

Works Well With

shortcuts-action-icon-make-archive.webp
Make Archive
Makes an archive out of the files passed as input. Supports creating zip, tar.gz, tar.bz2, tar, gzip, cpio, or iso archives.
shortcuts-action-icon-extract-archive.webp
Extract Archive
Extracts files from the archive passed as input. Many archive formats are supported, including zip, rar, tar.gz, tar.bz2, tar, gzip, cpio, cab, and iso archives.
action-icon-add-pdf-to-books.webp
Add PDF to Books
Opens the input as a PDF in iBooks.
shortcuts-action-icon-markup.webp
Markup
Edits an image or PDF with Markup.
action-icon-append-to-text-file.webp
Append to Text File
Adds the text passed as input to the end of the specified file. Requires the name or path of the file to retrieve. For example, if you are appending a file called “notes.txt” in a folder called “Public”, use “/Public/notes.txt”.
shortcuts-action-icon-get-link-to-file.webp
Get Link to File
Gets a public link to the file passed into the action.
shortcuts-action-icon-get-file-from-folder.webp
Get File from Folder
Get files from iCloud Drive or Files. Turn off “Show Document Picker” to specify a path to retrieve.
shortcuts-action-icon-get-details-of-files.webp
Get Details of Files
Extracts information from the file, including file size, file extension, creation date, last modified date, and name.
shortcuts-action-icon-generate-hash.webp
Generate Hash
Generates a MD5/SHA1 hash from the input.
action-icon-base64-encode.webp
Base64 Encode
Encodes or decodes text or files using Base64 encoding.
shortcuts-action-icon-make-video-from-gif.webp
Make Video from GIF
Converts an animated GIF into a video.
action-icon-airdrop.webp
AirDrop
Prompts to share the input via AirDrop.

Shortcuts Using This

shortcut-export-mind-map-icon.png
Export mind map
Exports the most recent mind map as tasks into Things.
shortcut-export-as-reminders-list-icon.png
Export as Reminders List
Exports the most recent mind map as a List in Reminders.
shortcut-export-from-last-doc-icon.png
Export from last doc
Exports the most recent mind map as tasks into Things.