[GH-ISSUE #629] unable to upload multiple recordings at once #324

Closed
opened 2026-02-25 20:33:20 +03:00 by kerem · 4 comments
Owner

Originally created by @evakhoni on GitHub (May 12, 2024).
Original GitHub issue: https://github.com/asciinema/asciinema/issues/629

Describe the bug
trying to upload multiple recordings at once,
the software recognizes the additional files as unrecognized arguments

To Reproduce
❯ asciinema upload *.cast
usage: asciinema [-h] [--version] {rec,play,cat,upload,auth} ...
asciinema: error: unrecognized arguments: details.cast main.cast status.cast

Expected behavior
upload successful
or at least a reasonable message

Versions:

  • Fedora release 39
  • asciinema 2.3.0
Originally created by @evakhoni on GitHub (May 12, 2024). Original GitHub issue: https://github.com/asciinema/asciinema/issues/629 **Describe the bug** trying to upload multiple recordings at once, the software recognizes the additional files as unrecognized arguments **To Reproduce** ❯ asciinema upload *.cast usage: asciinema [-h] [--version] {rec,play,cat,upload,auth} ... asciinema: error: unrecognized arguments: details.cast main.cast status.cast **Expected behavior** upload successful or at least a reasonable message **Versions:** - Fedora release 39 - asciinema 2.3.0
kerem closed this issue 2026-02-25 20:33:20 +03:00
Author
Owner

@moritzdietz commented on GitHub (May 15, 2024):

May I suggest:

for recording in details.cast main.cast status.cast; do asciinema upload "$recording"; done
<!-- gh-comment-id:2112082624 --> @moritzdietz commented on GitHub (May 15, 2024): May I suggest: ```bash for recording in details.cast main.cast status.cast; do asciinema upload "$recording"; done ```
Author
Owner

@ku1ik commented on GitHub (May 15, 2024):

That's what I'd suggest as well. Thanks @moritzdietz.

<!-- gh-comment-id:2112093484 --> @ku1ik commented on GitHub (May 15, 2024): That's what I'd suggest as well. Thanks @moritzdietz.
Author
Owner

@evakhoni commented on GitHub (May 15, 2024):

yeah there are definitely workarounds available for this one. just the current situation of it recognizing it as unrecognized arguments seems buggy to my eyes

<!-- gh-comment-id:2112095375 --> @evakhoni commented on GitHub (May 15, 2024): yeah there are definitely workarounds available for this one. just the current situation of it recognizing it as `unrecognized arguments` seems buggy to my eyes
Author
Owner

@ku1ik commented on GitHub (May 15, 2024):

> asciinema upload --help
Upload a recording to an asciinema server

Usage: asciinema upload [OPTIONS] <FILENAME>

Arguments:
  <FILENAME>  Filename/path of asciicast to upload

Options:
      --server-url <SERVER_URL>  asciinema server URL
  -q, --quiet                    Quiet mode, i.e. suppress diagnostic messages
  -h, --help                     Print help

The help message clearly states it accepts 1 filename so it works as expected.

<!-- gh-comment-id:2112103465 --> @ku1ik commented on GitHub (May 15, 2024): ``` > asciinema upload --help Upload a recording to an asciinema server Usage: asciinema upload [OPTIONS] <FILENAME> Arguments: <FILENAME> Filename/path of asciicast to upload Options: --server-url <SERVER_URL> asciinema server URL -q, --quiet Quiet mode, i.e. suppress diagnostic messages -h, --help Print help ``` The help message clearly states it accepts 1 filename so it works as expected.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/asciinema#324
No description provided.