This question already has an answer here:
- Find images by size: find / file / awk 6 answers
I have restored with photorec about 7.500 jpg's. I have moved them all in one folder. A big portion of them is thumbnails. But i can't just go on and delete lets say all of them that are smaller than X bytes because i have some old pictures which were taken from older phones. So there are thumbs that are 15KBs and also regular photos of about the same size but with bigger resolution (dimensions).
So i want a way to remove those that are smaller than x pixels wide for example. Can this be done from the terminal?