From af2db1d03647afa02605313350971b55e607f856 Mon Sep 17 00:00:00 2001 From: Penelope Gwen Date: Wed, 17 Apr 2024 14:30:03 -0600 Subject: [PATCH] New backup 2024-04-17 14:30:03 --- default/home/.sapphrc/default | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/default/home/.sapphrc/default b/default/home/.sapphrc/default index 9cda131..f0d78f8 100755 --- a/default/home/.sapphrc/default +++ b/default/home/.sapphrc/default @@ -14,7 +14,10 @@ alias p="ps aux |grep " #open file alias o="open " #find large files -alias find_largest_files="du -h -x -s -- * | sort -r -h | head -20" +#alias find_largest_files="du -h -x -s -- * | sort -r -h | head -20" +sort_filesizes() { + sudo du -h --max-depth=1 "${1}" | sort --human-numeric-sort +} #User Env Vars export DEBEMAIL="support@pogmom.me"