summaryrefslogtreecommitdiff
path: root/misc/lsdu
diff options
context:
space:
mode:
authorTimmy Keller <tjk@tjkeller.xyz>2022-03-16 23:37:09 -0500
committerTimmy Keller <tjk@tjkeller.xyz>2022-03-16 23:37:09 -0500
commit3d3d79a57fb6d0a5728e0070475f05d1699f0818 (patch)
treeb141cba678d6bb9821bb33b0dd7c7f1ca31b2c6a /misc/lsdu
parentd51fa1bdda79b8589ddf0002fc4b54aac6ce8354 (diff)
downloadscripts-3d3d79a57fb6d0a5728e0070475f05d1699f0818.tar.xz
scripts-3d3d79a57fb6d0a5728e0070475f05d1699f0818.zip
move a lot of scripts around and make a bunch of minor changes. once again i am too lazy to document the changes properly since im never going to read these commit messages anyways
Diffstat (limited to 'misc/lsdu')
-rwxr-xr-xmisc/lsdu2
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/lsdu b/misc/lsdu
index ef3eb97..cc57b7a 100755
--- a/misc/lsdu
+++ b/misc/lsdu
@@ -1,5 +1,5 @@
#!/bin/sh
-du -ah -d1 "$@" 2>/dev/null | sed 's/\.\///' | sort -h
+du -ahd1 "$@" 2>/dev/null | sed 's/\.\///' | sort -h
#for file in $(ls -a $1); do
# ([ "$file" = "." ] || [ "$file" = ".." ]) && continue
# files="${files:+$files\n}$(du -h $1/"$file" 2>/dev/null | tail -1)"