Skip to content

Instantly share code, notes, and snippets.

@stefannew
Created March 13, 2019 14:39
Show Gist options
  • Select an option

  • Save stefannew/35ebb86c3ee972e04cf50da9b5e19df5 to your computer and use it in GitHub Desktop.

Select an option

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
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