Disk : Fix tdu params.

This commit is contained in:
Dmitry Voronin 2024-02-07 23:21:04 +03:00
parent 861a14ea89
commit 10c469c9a1

View file

@ -1,11 +1,11 @@
# Show only physical drives info.
function pdf() {
/usr/bin/env df --si | sed -e '1p' -e '/^\/dev\//!d'
df --si | sed -e '1p' -e '/^\/dev\//!d'
}
# Show total size in SI.
# Current dir by default.
# Usage: tdu [DIRS]
function tdu() {
/usr/bin/env du -sh --si
du -sh --si "${@}"
}