ShredderFeeder@shredderfood.net to Selfhosted@lemmy.worldEnglish · 14 days agoAddiction....shredderfood.netimagemessage-square38fedilinkarrow-up13arrow-down12file-text
arrow-up11arrow-down1imageAddiction....shredderfood.netShredderFeeder@shredderfood.net to Selfhosted@lemmy.worldEnglish · 14 days agomessage-square38fedilinkfile-text
minus-squareShredderFeeder@shredderfood.netOPlinkfedilinkEnglisharrow-up2·13 days agoSo 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. ;-)
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. ;-)