| 1 | param([Parameter(Mandatory=$true)][string]$Root, [Parameter(Mandatory=$true)][string]$CloneHost) |
| 2 | Set-StrictMode -Version Latest |
| 3 | $ErrorActionPreference = 'Stop' |
| 4 | & "$PSScriptRoot\cold-current.ps1" -Root $Root -CloneHost $CloneHost |
| 5 | # Snowbound makes its folder hidden, which the transfer's archive does not keep. |
| 6 | $sidecar = Get-Item -LiteralPath (Join-Path $Root 'notebook\.snowbound') -Force |
| 7 | $sidecar.Attributes = $sidecar.Attributes -bor [IO.FileAttributes]::Hidden |