New backup 2024-05-16 19:15:02
This commit is contained in:
parent
d764cb968d
commit
6926ff56c3
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@ alias o="open "
|
|||
#find large files
|
||||
#alias find_largest_files="du -h -x -s -- * | sort -r -h | head -20"
|
||||
sort_filesizes() {
|
||||
[ -z ${1} ] && local dir="." || local dir="${1}"
|
||||
[ -z ${1} ] && local dir="$(pwd)" || local dir="${1}"
|
||||
du -ah --max-depth=1 "$( realpath ${dir} )" | sort --human-numeric-sort
|
||||
}
|
||||
# connect to android via adb as root
|
||||
|
|
Loading…
Add table
Reference in a new issue