I have already found an answer that lists pretty much everything. Except I cannot get it to work.
I use:
find . -iname "*.jpg" -type f | xargs -I{} identify -format '%w %h %i' {} | awk '$1<300 || $2<300{print $3}'
What is needed to remove the output files?
I tried adding | rm at the end but an error shows that im missing an opperand. I want all the files that the code above prints to be deleted.
Can someone please help