diff --git a/default/home/.sapphrc/default b/default/home/.sapphrc/default index d5d4d66..9c42be9 100755 --- a/default/home/.sapphrc/default +++ b/default/home/.sapphrc/default @@ -32,6 +32,10 @@ sort_filesizes() { [ -z ${1} ] && local dir="$(pwd)" || local dir="${1}" du -ah --max-depth=1 "$( realpath ${dir} )" | sort --human-numeric-sort } +sort_filesizes-monitor() { + [ -z ${1} ] && local dir="$(pwd)" || local dir="${1}" + watch "du -ah --max-depth=1 $( realpath ${dir} ) | sort --human-numeric-sort" +} #connect to android via adb as root alias adb_root="adb shell -t exec run-as com.termux files/usr/bin/bash -c 'su -'" #df -h without tmpfs