www/content/blog/commands/find-inodes-used.md

13 lines
293 B
Markdown
Raw Normal View History

2020-04-28 17:29:52 +02:00
---
title: "Find where inodes are used"
date: 2018-04-25
description: How to locate what is taking all the inodes in the subdirectory of a given device
tags:
- find
- simple utilities
2020-04-28 17:29:52 +02:00
---
{{< highlight sh >}}
find . -xdev -printf '%h\n' | sort | uniq -c | sort -k 1 -n
{{< /highlight >}}