Thomas Adam <[EMAIL PROTECTED]> writes: > On Thu, Aug 26, 2004 at 02:33:06PM +0200, Josef Oswald wrote: >> >> Is there a way to let du -h only print the size of a directory?
Sorry I was not clear here, I want to check more then _one_ directory, at once: like /home/oswald but du -sh returns a error that /home/oswald/pan/cache is not readable ( something about input-output error. > > du -sh /some_dir > > It's in the manpage, oddly enough. Sure it is :-) But since du returns the above error it does not finish. du -h /the_directory works but it prints then all files. of course I could put the output into a file and then go trough that... > > -- Thomas Adam > -- > Quis custodiet ipsos custodes? -- LinuxUser aka Josef Oswald [EMAIL PROTECTED] -- registered-linux-user # 134.818 at http://counter.li.org The box said Windows, NT or better, so I installed Linux :-) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]