New backup 2025-02-14 22:30:01
This commit is contained in:
parent
f5fa26d0d9
commit
8fd7c0d7bf
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue