# file size on the operating system

**URL:** <https://community.unix.com/t/file-size-on-the-operating-system/266808>\
**Category:** Shell Programming and Scripting\
**Created:** [June 1, 2010, 8:36am UTC](https://community.unix.com/t/file-size-on-the-operating-system/266808 "2010-06-01T08:36:06Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![guessingo](https://community.unix.com/letter_avatar/guessingo/32/5_5575768a8748004e209b776fc1b2916d.png) [@guessingo](https://community.unix.com/u/guessingo)\
**Post date:** [June 1, 2010, 8:36am UTC](https://community.unix.com/t/file-size-on-the-operating-system/266808/1 "2010-06-01T08:36:06Z")

</div>

When I do df -h, I see that one of my partitions is out of space.

Then when I do du -h, I get thousands of files. How do I only look at files over a specific size. I want directories over 500m to be returned only.

---

<div class="post-metadata">

**Author:** ![pludi](https://community.unix.com/user_avatar/community.unix.com/pludi/32/1278_2.png) [@pludi](https://community.unix.com/u/pludi)\
**Post date:** [June 1, 2010, 8:50am UTC](https://community.unix.com/t/file-size-on-the-operating-system/266808/2 "2010-06-01T08:50:43Z")

</div>

man [man find (Linux)](https://www.unix.com/man-pages.php?query=find&section=0&os=Linux):

```plaintext
find . -type f -size +500M -print

```

---

<div class="post-metadata">

**Author:** ![guessingo](https://community.unix.com/letter_avatar/guessingo/32/5_5575768a8748004e209b776fc1b2916d.png) [@guessingo](https://community.unix.com/u/guessingo)\
**Post date:** [June 1, 2010, 9:16am UTC](https://community.unix.com/t/file-size-on-the-operating-system/266808/3 "2010-06-01T09:16:23Z")

</div>

thank you
