#!/bin/sh
date +"%F"
echo -e "Type\tName\tUsed\tSize"
df -x tmpfs -h -P 2>&1 | awk 'NR>1{print "Filesystem\t"$1"\t"$3"\t"$2}'
for dir in "$@"; do
echo -en "Directory\t$dir\t"
du -h --summarize "$dir" | awk '{print $1}'
done
./du.sh [DIR1 [DIR2 ...]]