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

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


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.

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