I think I officially have a hoarding problem...

you are viewing a single comment's thread
view the rest of the comments
[–] 12 points 2 months ago (3 children)

never saw the s argument and was curious what's the difference to d. man pages are way ahead of me ^^

--max-depth=0 is the same as --summarize

  • source
  • hideshow 3 child comments
  • [–] [S] 6 points 2 months ago (1 child)

    So just did a couple of experiments...

    sudo su -sh /home - returns permission denied errors on certain NAS subdirectories, but not a lot.

    du -sh /home --summarize -returns the same errors.

    du -sh --max-depth=0 - returns the same errors plus an error saying that using --max-depth=0 is the same as --summarize.

    ;-) for the purposes of what I was doing (creating a clip for posting) redirecting stderr to null was the best option.

    But I learned a few things today, which is cool. ;-)

  • source
  • parent
  • hideshow 1 child comment