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/to/ \( -iname '*.gif' -o -iname '*.jpg' \) -print0
will work. There might be a more elegant way.