du -hc --max-depth=1 /home/back/tvppclientarea/ | sort -k2
To show the size of backup directories that use rsync and hard links. The command lists each directory and shows the amount added to the previous directory, i.e. how big each backup was.
For reference the rsync command was
rsync --archive --itemize-changes --human-readable --stats --delete --link-dest=/home/back/tvppclientarea/1586563849_Sat_11Apr2020_0110 root@domain.com:/home/tvppclientarea/. /home/back/tvppclientarea/1586565194_Sat_11Apr2020_0133/.
Think is the directory is 1.5TB and it takes a long time to run, minutes. Was wondering if there was a way of speeding this up. I came across a command ncdu which I think may work (it does cacheing so the second time you run it is quicker) but can't find how to replace my command with it.