Issue
I need to find all image files from directory (gif, png, jpg, jpeg).
find /path/to/ -name "*.jpg" > log
How to modify this string to find not only .jpg files?
Solution
find /path/to -regex ".*\.\(jpg\|gif\|png\|jpeg\)" > log
Answered By - Dennis Williamson