du -s -h multiple folders
I have user who has 3 different accounts. I want to create him an total used disk space.Now is use:
(date; du -s -h /home/ttd1; du -s -h /home/ttd2) >.....txt
Problem is that it prints it like this into .txt file:
65MB /home/ttd1
56MB /home/ttd2
etc.
Is there a way to print total used diskspace on 1 line?