List files with a certain size

Started by geraldfuchs, October 17, 2016, 03:43:13 PM

Previous topic - Next topic

geraldfuchs

Hi,
how can I list files wich are bigger than XXXMB?

Gerald

Phil Harvey

Hi Gerald,

This is one way:

exiftool -filename -s3 -if "$filesize# > XXX000000" DIR

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).