canonical / canonical/multipass
enable transfer of multiple files using wildcards
- Dominant language
- C++
- Stars
- 9.2k
- Forks
- 828
- Avg merge
- 3d 1h
- Merged PRs (30d)
- 44
Description
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 :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.
Contributor guide
Research direction
Start by tracing the `multipass transfer` command's handling of a source such as `instance:dir/filename*`, then compare it with the existing `--recursive` behavior. Confirm how wildcard sources should be interpreted and ensure the result transfers the matching files without creating a literal `*`; update documentation if wildcard support remains unavailable.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100