Commit 0d33971f authored by rusty1s's avatar rusty1s
Browse files

[skip ci] conda

parent b242623b
......@@ -37,6 +37,10 @@ jobs:
shell:
bash
- name: DISK?
run: |
.\conda\disk.ps1
- name: Size
run: |
Get-PSDrive
......
$path = "$Env:Programfiles"
$colItems = Get-ChildItem $path | Where-Object {$_.PSIsContainer -eq $true} | Sort-Object
foreach ($i in $colItems)
{
$subFolderItems = Get-ChildItem $i.FullName -recurse -force | Where-Object {$_.PSIsContainer -eq $false} | Measure-Object -property Length -sum | Select-Object Sum
$i.FullName + " -- " + "{0:N2}" -f ($subFolderItems.sum / 1MB) + " MB"
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment