ShredderFeeder@shredderfood.net to Selfhosted@lemmy.worldEnglish · 2 个月前Addiction....shredderfood.netimagemessage-square81linkfedilinkarrow-up1273arrow-down18file-text
arrow-up1265arrow-down1imageAddiction....shredderfood.netShredderFeeder@shredderfood.net to Selfhosted@lemmy.worldEnglish · 2 个月前message-square81linkfedilinkfile-text
minus-squareJankatarch@lemmy.worldlinkfedilinkEnglisharrow-up3·2 个月前Is there any advantage of using du over df for this?
minus-squarebitjunkie@lemmy.worldlinkfedilinkEnglisharrow-up16·2 个月前Someone may eventually write CLI programs called hast and mich that you can somehow usefully pipe to it
minus-squareEphera@lemmy.mllinkfedilinkEnglisharrow-up9·2 个月前df only shows partitions, whereas du adds up the file sizes in the directory you specify. So, in particular, if you want to find out what’s taking up so much space, you can repeatedly run du -sh * and cd into the largest directory.
minus-squareShredderFeeder@shredderfood.netOPlinkfedilinkEnglisharrow-up5·2 个月前What he said. DF won’t take into account the contents of mount points within a directory.
minus-squareShredderFeeder@shredderfood.netOPlinkfedilinkEnglisharrow-up3·2 个月前What he said. DF won’t take into account the contents of mount points within a directory.
minus-squareHelix 🧬@feddit.orglinkfedilinkEnglisharrow-up3·2 个月前Or you run ncdu and save some keystrokes.
minus-squareVendetta9076@sh.itjust.workslinkfedilinkEnglisharrow-up2·2 个月前What he said. DF won’t take into account the contents of mount points within a directory.
minus-squareGreenKnight23@lemmy.worldlinkfedilinkEnglisharrow-up2·2 个月前What he said. DF won’t take into account the contents of mount points within a directory.
minus-squareanon_8675309@lemmy.worldlinkfedilinkEnglisharrow-up3·2 个月前Yeah it lets you have time to get some tea while it works.
minus-squaremal3oon@lemmy.worldlinkfedilinkEnglisharrow-up1·2 个月前I gotten used to dust instead of du because it has much nicer visual representation.
Is there any advantage of using
duoverdffor this?Someone may eventually write CLI programs called
hastandmichthat you can somehow usefully pipe to itNow that’s a good idea
dfonly shows partitions, whereasduadds up the file sizes in the directory you specify.So, in particular, if you want to find out what’s taking up so much space, you can repeatedly run
du -sh *andcdinto the largest directory.What he said. DF won’t take into account the contents of mount points within a directory.
What he said. DF won’t take into account the contents of mount points within a directory.
Or you run
ncduand save some keystrokes.What he said. DF won’t take into account the contents of mount points within a directory.
What he said. DF won’t take into account the contents of mount points within a directory.
Yeah it lets you have time to get some tea while it works.
I gotten used to
dustinstead ofdubecause it has much nicer visual representation.