Function Walk-Directory

Part of:

package cl-fad
( walk-directory < dirname > < fn > &key < directories > < if-does-not-exist > < test > )
Recursively applies the function FN to all files within the
directory named by the non-wild pathname designator DIRNAME and all of
its sub-directories. FN will only be applied to files for which the
function TEST returns a true value. If DIRECTORIES is true, FN and
TEST are applied to directories as well, and FN is guaranteed to be
applied to the directory's contents first. IF-DOES-NOT-EXIST must be
one of :ERROR or :IGNORE where :ERROR means that an error will be
signaled if the directory DIRNAME does not exist.