From 8fd7c0d7bf0a656e09b8205692c96ae31d80edb0 Mon Sep 17 00:00:00 2001 From: Penelope Gwen <support@pogmom.me> Date: Fri, 14 Feb 2025 22:30:01 -0800 Subject: [PATCH] New backup 2025-02-14 22:30:01 --- default/home/.sapphrc/default | 4 ++++ 1 file changed, 4 insertions(+) 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