.. _`File Datasources`: .. _`org.sysess.sympathy.datasources.filedatasourcemultiple`: File Datasources ```````````````` .. image:: datasource.svg :width: 48 Create datasources from filenames in a directory that matches the pattern. Documentation ::::::::::::: Search the selected `directory` for filenames matching the search pattern and output their absolute paths as datasources on the output port. The `pattern` for matching filenames uses shell style wildcards (glob) with special character: `?` for matching any single character, and `*` for matching any characters. For more details, see `fnmatch `_. When `recursive` search is enabled, all subdirectories of the selected directory will also be searched. The output can be configured to `include` only files, only directories or both files and directories. Definition :::::::::: Output ports ............ **port1** [datasource] Datasources with file paths Configuration ............. **Directory** (directory) Directory where to search for files. **Include** (include_types) File types to include in the output **Recursive** (recursive) Recursive search in subdirectories. **Search pattern** (search_pattern) Pattern for matching filenames. Related nodes ............. * :ref:`org.sysess.sympathy.datasources.filedatasource` Examples ........ * :download:`InputOutputGenerate.syx ` Implementation .............. .. automodule:: node_file_datasource :noindex: .. class:: FileDatasourceMultiple :noindex: