David, et al -- ...and then David Haller said... % % Hello, % % On Fri, 04 Oct 2019, David T-G wrote: % [..] % >I want to get a du total for all of the DIR-* subdirs, grouped by parent, % >without throwing any errors. The simple version obviously doesn't work: % [..] % >What I'd really like is to be able to [ -d $D/DIR-* ] but of course that % >doesn't work because there can be multiple matches. Got any better ideas? % % $ find bla/ -type d -exec du -hkc {} + OK, so I thought that this wouldn't work nicely, but when testing it I actually noticed the + at the end, and I kinda like it! So I'm going to have to read up on that later today and report back... Thanks! % % HTH, % -dnh HAND :-D -- David T-G See http://justpickone.org/davidtg/email/ See http://justpickone.org/davidtg/tofu.txt -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org