find-files-by-extensions ( path extensions -- seq )
Searching directories

Prev:find-files-by-extension ( path extension -- seq )


Vocabulary
io.directories.search

Inputs and outputs
patha pathname string
extensionsa sequence of file extensions
seqa sequence


Word description
Searches a directory for all files in the given list of extensions. File extensions and filenames are converted to lower-case and compared using the tail? word. File extensions should contain the period.

Examples
USING: io.directories.search ; "/" { ".jpg" ".gif" ".tiff" ".png" ".bmp" } find-files-by-extensions


Definition