Hi, I use "du -ax / | sort -rn > /var/tmp/du-`date --iso`" to get the sorted total size of all files and directories.
Unfortunately you can't see a difference between a directory and a file in the output. It would be nice if the directories would be added by a slash. Example: old: 307704984 / 291330280 /home new: 307704984 / 291330280 /home/ This way you can see if a line is a directory or not. This is even more important if you want to use the output for a script. I suggest 'du --dir-with-slash' or 'du --trailing-slash' as parameter. Thomas -- Thomas Guettler, http://www.thomas-guettler.de/ E-Mail: guettli (*) thomas-guettler + de _______________________________________________ Bug-coreutils mailing list Bug-coreutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-coreutils