Skip to content

cc send fails when using wildcards #1480

Open
@jacdavi

Description

@jacdavi

Describe your environment

  1. minimega version: latest master
  2. Linux distro/version: Ubuntu 18.04
  3. Go compiler version: 1.18.4
  4. VM types: N/A

Describe the bug
cc send commands fail when a wildcard is included (e.g., cc send *.txt.)

minimega:/tmp/minimega/minimega$ file list *.txt
host  | dir | name     | size | modified
ccc19 |     | tmp.txt  | 0    | 2022-09-23T20:27:32Z
ccc19 |     | tmp2.txt | 0    | 2022-09-23T20:27:35Z
minimega:/tmp/minimega/minimega$ cc send *.txt
Error (ccc19): unable to get file *.txt via the mesh: get *.txt: file not found

To Reproduce
Steps to reproduce the behavior:

  1. Create multiple files in filepath with the same extension
  2. Start minimega and try to run cc send *.extensions

Expected behavior
All files matching the wildcard should be sent without error.


Some more context here: #1472 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions