]> git.sthu.org Git - shutils.git/commitdiff
add conky/showmounts.sh
authorStefan Huber <shuber2@gmx.at>
Mon, 5 Nov 2012 08:13:14 +0000 (09:13 +0100)
committerStefan Huber <shuber2@gmx.at>
Mon, 5 Nov 2012 08:13:14 +0000 (09:13 +0100)
conky/showmounts.sh [new file with mode: 0755]

diff --git a/conky/showmounts.sh b/conky/showmounts.sh
new file mode 100755 (executable)
index 0000000..9365886
--- /dev/null
@@ -0,0 +1,3 @@
+#!/bin/sh
+df -h | grep '/dev/s[rd][c-z0-9]' | awk '{ print $1 "\t" $5 "  " $6}' | sed "s_/dev/__" | sort
+df -h | grep '/dev/mmc*' | awk '{ print $1 "\t" $5 "  " $6}' | sed "s_/dev/__" | sort