find: Size

1 
1 2.4 Size
1 ========
1 
1  -- Test: -size n[bckwMG]
1      True if the file uses N units of space, rounding up.  The units are
1      512-byte blocks by default, but they can be changed by adding a
1      one-character suffix to N:
1 
1      'b'
1           512-byte blocks (never 1024)
1      'c'
1           bytes
1      'k'
1           kilobytes (1024 bytes)
1      'w'
1           2-byte words
1      'M'
1           Megabytes (units of 1048576 bytes)
1      'G'
1           Gigabytes (units of 1073741824 bytes)
1 
1      The 'b' suffix always considers blocks to be 512 bytes.  This is
1      not affected by the setting (or non-setting) of the
1      'POSIXLY_CORRECT' environment variable.  This behaviour is
1      different from the behaviour of the '-ls' action).  If you want to
1      use 1024-byte units, use the 'k' suffix instead.
1 
1      The number can be prefixed with a '+' or a '-'.  A plus sign
1      indicates that the test should succeed if the file uses at least N
1      units of storage (a common use of this test) and a minus sign
1      indicates that the test should succeed if the file uses less than N
1      units of storage.  There is no '=' prefix, because that's the
1      default anyway.
1 
1      The size does not count indirect blocks, but it does count blocks
1      in sparse files that are not actually allocated.  In other words,
1      it's consistent with the result you get for 'ls -l' or 'wc -c'.
1      This handling of sparse files differs from the output of the '%k'
1      and '%b' format specifiers for the '-printf' predicate.
1 
1  -- Test: -empty
1      True if the file is empty and is either a regular file or a
1      directory.  This might help determine good candidates for deletion.
1      This test is useful with '-depth' (⇒Directories) and
1      '-delete' (⇒Single File).
1