I need to calculate the size of "real" files created under a folder (and its sub-folders) on an NTFS drive, where "real" is all files that are not present because of hard/soft-links, junctions etc.
Is there currently any tool that will do this? (command-line or graphical)
I guess such a capability will be useful only under the right circumstances, so, to avoid questions due to speculations on how I "really want to use it", I'll mention my use case in advance...
I've started using pnpm and I'm trying to evaluate actual disk usage. Given that the
node_modules folder (when created by
pnpm) contains folders that are links to
pnpm's store, I know that files in those folders should not be counted. WinDirStat seems to ignore these folders, but I need to be sure about this.