re-structured

This commit is contained in:
2021-01-24 15:48:33 +01:00
parent f15a95255f
commit e2466ddc8f
8 changed files with 26 additions and 20 deletions

4
bash/biggest_dir_on_same_fs.sh Executable file
View File

@@ -0,0 +1,4 @@
#!/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