Skip to content

Combine extensions with glob #1546

Answered by tavianator
ryands17 asked this question in Q&A
Discussion options

You must be logged in to vote

From the man page:

    -g, --glob
          Perform a glob-based search instead of a regular expression search.  If combined with the '--full-path' option,
          '**' can be used to match multiple path components.

So something like this should work:

$ fd -e td -g '**/tests/**' --full-path

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@ryands17
Comment options

@tavianator
Comment options

Answer selected by ryands17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants