I would like to find all mp4 files of size 1920x1080.
If i do
find . -type f -name \*.mp4 -exec ffprobe '{}' \; 2>&1
he will find all mp4 files and show video information. For instance. whether the output will contain (among other lines)
Input
My current ideas
find . -type f -name \*.mp4 -print0|xargs -0 -n1 echo for f in $(find . -type f -name \*.mp4); do ffprobe $f 2>&1 | grep 1920x1080;done
where I canβt understand how to enable if grep -q 1920x1080 , and in the first and second white spaces in the file names the output is placed up.
Question
How can I display only the file name with the path if the result matches 1920x1080 ?
source share