From: Chris Koeritz Date: Fri, 15 Oct 2021 04:55:35 +0000 (-0400) Subject: df upgrades X-Git-Tag: 2.140.134~4^2~39 X-Git-Url: https://feistymeow.org/gitweb/?a=commitdiff_plain;h=8ed08d7d44f80edb3067d1880593491f14692f18;p=feisty_meow.git df upgrades clean_df shows without /dev/loop* and other cruds. df alias also had -m removed since we can't find a trace of what that's supposed to do. --- diff --git a/scripts/core/common.alias b/scripts/core/common.alias index 5143f048..7dc95071 100644 --- a/scripts/core/common.alias +++ b/scripts/core/common.alias @@ -36,7 +36,7 @@ define_yeti_alias copy='\cp -i -v' define_yeti_alias cp='\cp -i -v' define_yeti_alias del='perl $FEISTY_MEOW_SCRIPTS/files/safedel.pl' define_yeti_alias deltree='perl $FEISTY_MEOW_SCRIPTS/files/safedel.pl' -define_yeti_alias df='\df -mh' +define_yeti_alias df='\df -h' define_yeti_alias dir='perl $FEISTY_MEOW_SCRIPTS/files/summing_dir.pl' define_yeti_alias du='\du -h' define_yeti_alias erase='perl $FEISTY_MEOW_SCRIPTS/files/safedel.pl' diff --git a/scripts/files/clean_df.sh b/scripts/files/clean_df.sh new file mode 100644 index 00000000..48d55622 --- /dev/null +++ b/scripts/files/clean_df.sh @@ -0,0 +1,5 @@ +#!/bin/bash + +# so simple but very handy; drops any partitions that we don't care about before showing the df listing. + +\df -h "${@}" | grep -v "loop\|udev\|tmpfs"