This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # | |
| # Demo for issue: Kopia not running actions when snapshot source is a single file. | |
| # | |
| # Tested with | |
| # Kopia 0.13.0 | |
| # Windows Server 2022 | |
| # | |
| # Demo settings |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function Get-FolderUsage([String]$Folder) { | |
| [PSCustomObject]@{ | |
| FullName=Join-Path -Path $Folder -ChildPath '*'; | |
| SizeGb=[int]((Get-ChildItem -File $Folder | Measure-Object -Property Length -Sum).Sum / 1GB) | |
| } | Write-Output | |
| Get-ChildItem -Directory -Path $Folder | | |
| ForEach-Object { | |
| [PSCustomObject]@{ | |
| FullName=$_.FullName; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| namespace Fable.Plugins | |
| #r "../../build/fable/bin/Fable.exe" | |
| open Fable.AST | |
| open Fable.AST.Fable | |
| open Fable.FSharp2Fable | |
| type RandomPlugin() = | |
| interface IReplacePlugin with |
NewerOlder