Originally Posted by michaelk
By using not or two expressions. Not less then 1G is the same as >=1G or you can search for both equal 1G and greater then 1G.
find /folder/ -type f ! -size -1G -exec stuff
find /folder/ -type f -size 1G -and -size +1G -exec stuff
Sorry, but "-size 1G" does not do what you think it does. Think of it as, "How many units of this size are needed to hold this file?" A file which has a size from 1 byte to 1073741824 bytes (inclusive) "uses" a single 1G unit, and "-size 1G" would match that file.
Also, it is logically impossible for a file's size to be both exactly 1G and
greater than 1G. You need to use OR.
find /folder/ -type f \( -size 1073741824c -o -size +1G \) -exec stuff
Which is equivalent to
find /folder/ -type f -size +1073741823c -exec stuff