New answers tagged junction
0
votes
Calculate folder size without counting links
Won't something like this work for you?
(Get-ChildItem -Recurse 'node_modules' |
? { $_.LinkType -eq $Null } |
Measure-Object -Sum Length).Sum
$_.LinkType -eq $Null filters out all link types.
Top 50 recent answers are included
Related Tags
junction × 12windows × 5
ntfs × 4
symbolic-link × 4
symlink × 3
hardlink × 3
iis × 2
junction-points × 2
networking × 1
php × 1
windows-server-2003 × 1
windows-server-2008-r2 × 1
windows-server-2012-r2 × 1
performance × 1
filesystems × 1
windows-xp × 1
installation × 1
file-permissions × 1
performance-tuning × 1
windows-command-prompt × 1
dfs × 1
share × 1
dfs-r × 1
version-control × 1
windows-installer × 1