Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
torch-spline-conv
Commits
0d33971f
Commit
0d33971f
authored
Jun 26, 2021
by
rusty1s
Browse files
[skip ci] conda
parent
b242623b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
0 deletions
+11
-0
.github/workflows/building-conda.yml
.github/workflows/building-conda.yml
+4
-0
conda/disk.ps1
conda/disk.ps1
+7
-0
No files found.
.github/workflows/building-conda.yml
View file @
0d33971f
...
...
@@ -37,6 +37,10 @@ jobs:
shell
:
bash
-
name
:
DISK?
run
:
|
.\conda\disk.ps1
-
name
:
Size
run
:
|
Get-PSDrive
...
...
conda/disk.ps1
0 → 100644
View file @
0d33971f
$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"
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment