canonical/multipass

enable transfer of multiple files using wildcards

Open

#3,885 创建于 2025年1月20日

在 GitHub 查看
 (6 评论) (0 反应) (0 负责人)C++ (6,956 star) (634 fork)batch import
bug-scrubdocumentationenhancementhelp wantedmedium

描述

from everything i can tell, the multipass transfer command is only useful for transferring single files/folders from a multipass instance to the host. for example, the command multipass transfer <instance>:dir/filename* . will give an SFTP error and actually create a file called * on the host (which itself seems very dangerous because it may prompt one to to want to run rm * instead of rm \*).

there is nothing in the documentation that says that wildcards are not supported, but that seems to be the case. honestly, i'm surprised that this is not supported, so if it is not, i would expect the documentation to be fairly clear about it. i see that there is a --recursive option, but that copies the parent directory and all of its contents, unlike what a wildcard would do.

贡献者指南