# Linux – How to find all jpeg images of the same camera model

findjpeglinuxterminal

Recently during a installation messup , I lost all my files from my windows NTFS drives. I installed on testdata on Ubuntu 12.10 Desktop edition and with the help of photorec could recover a lot of jpeg images.

Now the problem is they are all named with f[somelargenumber].jpg. Now I want to separate the pics that were clicked from my camera model.

Is there any command through which I can accomplish this task.

Any other alternate solution would also work if it helps solve my problem.

identify -verbose * | egrep "Image:|exif:Model" | tr "\n" "-" | sed "s/Image:/\n/g"