diff options
Diffstat (limited to 'scripts/top_ten_directories.sh')
-rw-r--r-- | scripts/top_ten_directories.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/top_ten_directories.sh b/scripts/top_ten_directories.sh new file mode 100644 index 0000000..5da89cb --- /dev/null +++ b/scripts/top_ten_directories.sh @@ -0,0 +1,2 @@ +#!/usr/bin +sudo find . -type d -print0 | xargs -0 du | sort -n | tail -10 | cut -f2 | xargs -I{} du -sh {} |