Lucid.Util.SearchFolderFilesBySuffix

This task type allows recursively searching a folder for matching files.

Matching modes

If multiple suffixes are given, files with each suffix are searched. Different matching modes are available to spawn a new XF job run for each matching group of files.

Mode: standalone

The files are not matched. A new XF job run is spawned for each file.

Mode: filename

The files are matched based on the filename only.

  • Example suffixes: .omni|_seg.omni

    • images/example1.omni

    • images/example2.omni

    • labels/example1_seg.omni

    • labels/example2_seg.omni

(If the suffixes are identical, use suffix_regex mode instead.)

Mode: dirname

The files are matched based on the directory they are in.

  • Example suffixes: image.omni|label.omni

    • example1/image.omni

    • example1/label.omni

    • example2/image.omni

    • example2/label.omni

Mode: suffix_regex

Use a regular expression with (...) capture groups for the first suffix, and \1 group substitutions in the other suffixes.

  • Example suffixes: images/(.*)\.omni$|labels/\1.omni

    • images/example1.omni

    • images/example2.omni

    • labels/example1.omni

    • labels/example2.omni

  • Example suffixes: image(\d+).omni$|label\1.omni

    • folder/image1.omni

    • folder/label1.omni

    • folder/image2.omni

    • folder/label2.omni

Supported Image Formats

If the typename input is set to Image, the following formats are supported:

  • OMNI

  • ISQ

  • AIM