Y
Y
Yuriy2019-06-17 12:45:10
macOS
Yuriy, 2019-06-17 12:45:10

MacOS find files by mask in name?

Tell me, is it possible to set a search in finder with a mask in the name? like *123*VasyaPupkin*
you need to find files with only digits in the name, the number of which is 8 ...
for example, set such a mask [0-9]{8}.jpeg

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey Sokolov, 2019-06-17
@sergiks

You can run the command in Terminal

find -E /Users/Yuriy/Documents/ -type f   -regex ".*/[0-9]{8}.jpg"

Entertaining Reading: Teamman find

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question