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