5 lines
195 B
Bash
Executable File
5 lines
195 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# find biggest directories in a given path without leaving the current filesystem
|
|
dir="$1"; for i in $(ls $dir); do mountpoint -q $dir/$i || du -shx $dir/$i ; done | sort -rh | head
|