$ file -i /foo/bar/* | perl -ne 'print "$1\n" if /(.*):\s*image\/jpeg$ +/' [download]
In reply to Re: Find all JPEG files in a directory by salva in thread Find all JPEG files in a directory by tech2040