Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Save stdin commands .sh or .batch file locally (enhancement) #132

Closed
joseluisq opened this issue Nov 27, 2015 · 6 comments
Closed

Save stdin commands .sh or .batch file locally (enhancement) #132

joseluisq opened this issue Nov 27, 2015 · 6 comments

Comments

@joseluisq
Copy link

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

@ku1ik
Copy link
Contributor

ku1ik commented 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...?

@joseluisq
Copy link
Author

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

@jakubjedelsky
Copy link
Contributor

We call it history in linux :)

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

@joseluisq
Copy link
Author

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
#132 (comment)
.

@ku1ik
Copy link
Contributor

ku1ik commented 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").

@joseluisq
Copy link
Author

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

@ku1ik ku1ik closed this as completed Dec 3, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants