Created
March 13, 2019 14:39
-
-
Save stefannew/35ebb86c3ee972e04cf50da9b5e19df5 to your computer and use it in GitHub Desktop.
Recursive Wildcard for getting all filenames in a directory and its sub-directories
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| rwildcard=$(foreach d,$(wildcard $1*),$(call rwildcard,$d/,$2) $(filter $(subst *,%,$2),$d)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment