I am looking for a shell script for Ubuntu Server that lists the disk usage of directories in a decreasing order. It should not list subfolders (recursively). The behaviour should be similar to the Treesize program on Windows and should be in a human readable format. The disk space of files which are not in a folder can be grouped together as one value. For example:
4G software
2G terry
500M thomas
50M Files
Or, should I just use ncdu? https://packages.ubuntu.com/search?searchon=sourcenames&keywords=ncdu