find by extension

This block is part of the files group and was last modified in core v14.0.5.

find by extension v14.0.5

Filters a list of files by extension (e.g. mp4, jpg, png). Separate alternatives with | (e.g. png|jpg|gif). Returns matching files.

In pins 2
  • files required
    file

    the files to filter

  • extension required
    value

    the extension to filter by (e.g. mp4, jpg, png). Without dot. Separate alternatives with |, e.g. png|jpg|gif.

Out pins 4
  • matching files
    file
  • first match
    file
  • count
    number
  • found
    condition
filter files
get file by type
find file

A typical wiring for find by extension: value feeds the extension pin; the matching out pin feeds if; the found out pin feeds branch.

Studio canvas example for the find by extension block: typical wiring for find by extension.

Commonly used with

In production blueprints, this block is most often wired together with:

  • if: this block feeds into it. If.. then.. else..
  • create: feeds into this block. Creates a new function that can be executed using the given name.
  • value: feeds into this block. Simply returns the provided value.
  • branch: this block feeds into it.
  • move to public: this block feeds into it. Moves the given files to a new public destination.
  • if: this block feeds into it. Conditional branching for values (if.. then.. else..). Selects which input value is passed through; it does not route flow.

Version history

Introduced in v14.0.5.


Back to files Return to the main group to view all sub-groups Back to file actions Return to the group to view all blocks within this group