I can get all jpg images by using:
find . -name "*.jpg"
But how can I add png files to the results as well?
|
I can get all
But how can I add |
||||
|
|
|
Use the
|
||||
|
|
|
You can combine criteria with
On Linux, you can use
On FreeBSD, NetBSD and OSX, you can use
|
|||
|
|
This is more correct. find -iregex '.*\.\(jpg\|gif\|png\|jpeg\)$' |
|||||
|