Comment 2 for bug 1385813

Revision history for this message
Andreas Metzler (k-launchpad-downhill-at-eu-org) wrote :

The -size -nnnnnX check works like this:

How many units sized one X each is the file using,
a) less than nnnnn
or
b) at least nnnnn

Therefore -size -1M or -size -1k or -size -1c all match only empty files.

A 1025 byte sized file uses two 1K-units (it has to, there is only space for 1024 bytes in a single 1K unit) and will therefore not match -size -2k.

cu Andreas