I am trying to find all JPG images within a folder with subfolders that have either width or height below 300px.
This way I want to detect old thumbnails and delete them.
For sure I can find all images using find
:
find . -iname "*.jpg" -type f | ...
But what follows after the pipe? Which package can I use to detect picture attributes?