File find (payload:file-find)
File find (payload:file-find)
Find files in given path with or without filter, result will be stored in a string variable.
Usage:
<payload:file-find name=""! path=""! filter=""?/>
! - mandatory, ? - optional
Example
Example | Behaviour |
---|---|
<payload:file-find name="myFileFind" path="C:\folder\target\test-classes\assets\" filter="Test.*.txt" /> | Returns a string containing all files in the directory with the filter ‘Test*.txt’ |
<payload:file-find name="myFileFind" path="C:\folder\target\test-classes\assets\" /> | Returns a string containing all files in the directory. |
Related content
File search (payload:file-search)
File search (payload:file-search)
More like this
File (payload:file)
File (payload:file)
More like this
File write (payload:file-write)
File write (payload:file-write)
More like this
File copy (payload:file-copy)
File copy (payload:file-copy)
More like this
File separator (payload:file-separator)
File separator (payload:file-separator)
More like this
File create folder (payload:file-create-folder)
File create folder (payload:file-create-folder)
More like this