ignore case in extension and add image types
authordaniel watson <ozzloy@gmail.com>
Mon, 27 Jun 2016 04:10:27 +0000 (21:10 -0700)
committerdaniel watson <ozzloy@gmail.com>
Mon, 27 Jun 2016 04:10:27 +0000 (21:10 -0700)
sometimes an image needs to be modified and saved before being a frame
in the video

guide/convert-JPG-to-640x480-ogv.bash

index 0d4a649a200eaab10a4960a50370775f37f7d393..7762215cba3ebda7371ca61bce09c74fa8da5039 100755 (executable)
@@ -5,7 +5,7 @@
 
 number=0
 
-for i in *.JPG
+for i in $(find . -iname "*.jpg" -o -iname "*.png"|sort)
 do
   if test -f "$i"
   then