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?
find /path/to -regex ".*.(jpg|gif|png|jpeg)" > log
1.4m articles
1.4m replys
5 comments
57.0k users