2 ms·
find . -name *.jpg TL;DR if you don’t wrap your wildcard expressions in quotes the shell will expand them. find . -name ‘*.jpg’ so wrap them in single quot
by Lio 7y ago
find . -name *.jpg
TL;DR if you don’t wrap your wildcard expressions in quotes the shell will expand them.
find . -name ‘*.jpg’
so wrap them in single quotes so that they make their way to the find command unexpanded.