Examples

Print all image files with its format (width x height in pixels):

_$: find . -type f -name "*.jpg" -print0 | xargs -0 -I '{}' identify -format "%wx%h" '{}'
                                                     A  B                             C
A: We will use string replacement.
B: When we want to replace the filename returned by find we will use the {} identifier.
C: Replace the filename in this position.