New backup 2025-02-14 22:30:01

This commit is contained in:
Penelope Gwen 2025-02-14 22:30:01 -08:00
parent f5fa26d0d9
commit 8fd7c0d7bf

View file

@ -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