Files

Frends.Files.Find / 2.1.0

Summary

Lists the files in a directory that match a pattern, without opening any of them.

Typical use — the discovery step that decides whether a Process has work to do, and what to loop over

Details

Frends version
5.7 and newer
Agent
Crossplatform
Target framework
net8.0

Input parameters.

Name Type Default Example Description
Directory String "c:\" C:\directory\

Root directory where the pattern matching should start

Pattern String "**\Folder\*.xml" **/Folder/*.xml, Folder/*.txt, report-*.csv, <regex>^(?!prof).*_test.txt

Pattern to match relative to Directory. Matching is case-insensitive and separators are normalized to /. For regex mode, prefix the pattern with and the matcher checks the full relative path and filename. For wildcard mode, * and ** work as glob operators and regex special characters are treated literally.

An unhandled error has occurred. Reload 🗙
Reconnecting… Connection lost.