LAFARGE Jonathan (Cetelem) wrote: > I have a suggestion :
Thank you for your suggestion. > For ls, there could be an interesting option that would display the size of > each folder in ls -l mode. > [...] > We could have this (with -s doing what I want) : > drwxrwxrwx 5 user2 group1 5.5M Dec 2 16:09 CVS > [...] > I created a shell script that do that, using du, but it's pretty slow (see > in attachment). I'm not competent enough to program it in the ls C code. So > I'm just sending you this idea, hoping that someone will develop it ! This has been suggested on a number of occasions. If you were to search the list archives you would find previous discussions. However, the speed will probably not be noticiably faster than your shell script. Summing up a directory tree has all of the same work and time requirements as du. Therefore it would take about the same amount of time to run. Bob _______________________________________________ Bug-fileutils mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/bug-fileutils