Find big directories / files (#Gigabyte) with du -sh

Find directories / files (incl. 1,2G etc):

du -sh /*/*/* 2>&1 | grep -E "[0-9]{1,}(,[0-9])?G\s+"

 

Simpler version with more than 10G:

du -sh /*/*/* 2>&1 | grep -E "[0-9]{2,}G\s+"

Neuen Kommentar schreiben

CAPTCHA
This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.

Suche

Neueste Kommentare