I would like to do the Linux equivalent of du --max-depth=1
on Solaris.
I cannot find an equivalent in the man pages. Any alternatives?
I would like to do the Linux equivalent of du --max-depth=1
on Solaris.
I cannot find an equivalent in the man pages. Any alternatives?
Won't this do it?
cd $TOP_LEVEL_DIR du -s *
You could always install gnu fileutils and get the same functionality. Blastwave would have pre-built packages for newer versions of Solaris.
find ./ -type d -print -maxdepth 1|xargs du -hs