Issue
I want to see the image dimensions of all the jpg images together in a list through a command line in Linux. Following code works for only one image.
identify -format "%wx%h" xxxx.jpg
Solution
I think this is what you need
xargs identify -format "%wx%h\n" < <(ls -tr1)
or
ls -1 | xargs -L1 identify -format "%wx%h\n"
Answered By – pvlt
This Answer collected from stackoverflow, is licensed under cc by-sa 2.5 , cc by-sa 3.0 and cc by-sa 4.0