I think I officially have a hoarding problem…

  • justme@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    11
    ·
    8 hours ago

    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

    • ShredderFeeder@shredderfood.netOP
      link
      fedilink
      English
      arrow-up
      4
      ·
      6 hours ago

      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. ;-)

      • justme@lemmy.dbzer0.com
        link
        fedilink
        English
        arrow-up
        2
        ·
        5 hours ago

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

        that is always the most important. thanks for sharing!