2 clarify it's the name and not content of the file that is to match the pattern
source | link

Get list of subdirectories which contain a file matchingwhose name contains a string

How can I get a list of the subdirectories which contain a file matchingwhose name matches a particular stringpattern?

More specifically, I am looking for directories which contain a file with the letter 'f' somewhere occurring in the file name.

Ideally, the list would not have duplicates and only contain the path without the filename.

Get list of subdirectories which contain a file matching a string

How can I get a list of the subdirectories which contain a file matching a particular string?

More specifically, I am looking for directories which contain a file with the letter 'f' somewhere occurring in the file name.

Ideally, the list would not have duplicates and only contain the path without the filename.

Get list of subdirectories which contain a file whose name contains a string

How can I get a list of the subdirectories which contain a file whose name matches a particular pattern?

More specifically, I am looking for directories which contain a file with the letter 'f' somewhere occurring in the file name.

Ideally, the list would not have duplicates and only contain the path without the filename.

1
source | link

Get list of subdirectories which contain a file matching a string

How can I get a list of the subdirectories which contain a file matching a particular string?

More specifically, I am looking for directories which contain a file with the letter 'f' somewhere occurring in the file name.

Ideally, the list would not have duplicates and only contain the path without the filename.