mybin

my ~/bin
git clone https://a3nm.net/git/mybin/
Log | Files | Refs | README

commit 87cd29f85efd725e04db5016349189ff406398de
parent b790fa73013cd2ca27f32634c651bc4a3df6c289
Author: Antoine Amarilli <a3nm@a3nm.net>
Date:   Tue, 19 Dec 2023 14:05:36 +0100

Merge branch 'master' of a3nm.net:git/mybin

Diffstat:
df-alert | 7++++++-
1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/df-alert b/df-alert @@ -25,6 +25,11 @@ fi # other disks df -t ext4 | awk '{print $6}' | grep '^/mnt' | while read l do - do_check "$l" + NAME=$(echo "$l" | rev | cut -d '/' -f1 | rev) + # do not watch disk space on disks that are only used for backups + if ! grep -q "$NAME" "$HOME/config/private/disks_backup" > /dev/null + then + do_check "$l" + fi done