[GH-ISSUE #132] Save stdin commands .sh or .batch file locally (enhancement) #716

Closed
opened 2026-03-15 09:59:25 +03:00 by kerem · 6 comments
Owner

Originally created by @joseluisq on GitHub (Nov 27, 2015).
Original GitHub issue: https://github.com/asciinema/asciinema/issues/132

Now asciinema rec data.json saves the stdout output at "stdout": []
So, Is it possible to save my stack's stdin commands locally?
For example:

$ asciinema rec --save script.sh

Regards

Originally created by @joseluisq on GitHub (Nov 27, 2015). Original GitHub issue: https://github.com/asciinema/asciinema/issues/132 Now `asciinema rec data.json` saves the `stdout` output at `"stdout": []` So, Is it possible to save my stack's `stdin` commands locally? For example: ``` sh $ asciinema rec --save script.sh ``` Regards
kerem closed this issue 2026-03-15 09:59:30 +03:00
Author
Owner

@ku1ik commented on GitHub (Dec 3, 2015):

I'm a bit confused here. You would like to record input as well, or you would like to save the recording to a shell file...?

<!-- gh-comment-id:161621550 --> @ku1ik commented on GitHub (Dec 3, 2015): I'm a bit confused here. You would like to record input as well, or you would like to save the recording to a shell file...?
Author
Owner

@joseluisq commented on GitHub (Dec 3, 2015):

I would like to save my input commands only to a shell or batch file, not stdout.

For example:

$ pwd
$ ls -lah

To save.sh

pwd
ls -lah
<!-- gh-comment-id:161636029 --> @joseluisq commented on GitHub (Dec 3, 2015): I would like to save my input commands only to a shell or batch file, not stdout. For example: ``` sh $ pwd $ ls -lah ``` To `save.sh` ``` sh pwd ls -lah ```
Author
Owner

@jakubjedelsky commented on GitHub (Dec 3, 2015):

We call it history in linux :)

$ pwd
$ ls -lah
$ history | tail -2
 3283  pwd
 3284  ls -lah
<!-- gh-comment-id:161639809 --> @jakubjedelsky commented on GitHub (Dec 3, 2015): We call it `history` in linux :) ``` bash $ pwd $ ls -lah $ history | tail -2 3283 pwd 3284 ls -lah ```
Author
Owner

@joseluisq commented on GitHub (Dec 3, 2015):

Great idea :D but I would like to save batch commands too and the same time
asciinema records my stuff :)

El jue., 3 de diciembre de 2015 8:29, Jakub Jedelsky <
notifications@github.com> escribió:

We call it history in linux :)

$ pwd
$ ls -lah
$ history | tail -2
3283 pwd
3284 ls -lah


Reply to this email directly or view it on GitHub
https://github.com/asciinema/asciinema/issues/132#issuecomment-161639809
.

<!-- gh-comment-id:161641899 --> @joseluisq commented on GitHub (Dec 3, 2015): Great idea :D but I would like to save batch commands too and the same time asciinema records my stuff :) El jue., 3 de diciembre de 2015 8:29, Jakub Jedelsky < notifications@github.com> escribió: > We call it history in linux :) > > $ pwd > $ ls -lah > $ history | tail -2 > 3283 pwd > 3284 ls -lah > > — > Reply to this email directly or view it on GitHub > https://github.com/asciinema/asciinema/issues/132#issuecomment-161639809 > .
Author
Owner

@ku1ik commented on GitHub (Dec 3, 2015):

Take a look here for the discussion on stdin recording. In short, I don't have plans to support this soon, but it is on my todo list with a lower priority ("some day").

<!-- gh-comment-id:161649045 --> @ku1ik commented on GitHub (Dec 3, 2015): Take a look here for the discussion on stdin recording. In short, I don't have plans to support this soon, but it is on my todo list with a lower priority ("some day").
Author
Owner

@joseluisq commented on GitHub (Dec 3, 2015):

@sickill great, I hope "some day" mean "in near future"
Regards.

<!-- gh-comment-id:161650527 --> @joseluisq commented on GitHub (Dec 3, 2015): @sickill great, I hope "some day" mean "in near future" Regards.
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#716
No description provided.