title: Checking file size
body: <p>I want to check the file size in a shell script. I am trying to check if the file in a specific directory exceeds 2 GB, i.e., 2,147,483,648 bytes.</p>
  <p>How can I easily do this in a shell script?</p>
  <p>I have the following two files:</p>
  <pre>
  -rw-rw-rw-    1 op       general  1977591120 Jul 02 08:27 abc
  -rw-rw-rw-    1 op       general  6263142976 Jul 01 18:39 xyz
  </pre>
  <p>When I run <code>find . -size +2047MB</code>, I get both the files as output</p>
  <pre>
  ./abc
  ./xyz
  </pre>
  <p>I expect only <em>xyz</em> in the output size it is ~6 GB and <em>abc</em> is slightly less than ~2 GB . What can be the reason for both files showing up in the output?</p>