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 f
find /path -type f \( -iname "*.jpg" -o -name "*.jpeg" -o -iname "*gif" \)
find /path/to -regex ".*\.\(jpg\|gif\|png\|jpeg\)" > log
find -regex ".*\.\(jpg\|gif\|png\|jpeg\)"