It’s gona be compilacted…
I’m writing a bash script wich resizes all the images in a given directory. I need to select all the files with jpg, jpeg, JPG, JPEG etc. extensions, but i don’t know how.
is working for the jpg extensions, but how can I add the others?
( $1 is a directory given as argument )
I was thinking of
but doesn’t work
Can somebody help with this please?