We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8926615 commit 63f37b6Copy full SHA for 63f37b6
iphoto-touch-mov-by-prev-image
@@ -3,7 +3,7 @@
3
$dir = shift @ARGV || ".";
4
$dir =~ s/ /\\ /g;
5
@FILES = sort glob "$dir/*.*";
6
-@IMAGES = sort glob "$dir/*.{jpg,jpeg,JPG,JPEG}";
+@IMAGES = grep { /\.(jpe?g)/i } @FILES;
7
8
my $imageRef = shift @IMAGES;
9
if (! -f $imageRef) {
0 commit comments