Can't make `transfer` work using $HOME on Windows

Hi, can’t make it work transfer on multipass for Windows 10.

 Get-Content .\ | multipass transfer -v - master-k8s:$HOME/
An instance name is needed for either source or destination


Hi @tuxerrante, the problem is that $HOME is being expanded by PS to something like C:\Users\... (not a valid path inside the instance). The complete argument therefore includes 2 colons and Multipass doesn’t know how to parse it.

$HOME is the default location inside the instance anyway, so this should work for you:

multipass transfer -vvvv

FWIW, I opened an issue to track this.

1 Like