[GH-ISSUE #161] [question] Where are the recordings stored? #122

Closed
opened 2026-02-25 20:32:43 +03:00 by kerem · 13 comments
Owner

Originally created by @abhisekp on GitHub (May 27, 2016).
Original GitHub issue: https://github.com/asciinema/asciinema/issues/161

Where are the recordings stored if I don't upload them when it asks?

Previously using Version: 1.0.16 when recorded (but not uploaded)
Recently updated to Version: 1.2.0-1

Originally created by @abhisekp on GitHub (May 27, 2016). Original GitHub issue: https://github.com/asciinema/asciinema/issues/161 Where are the recordings stored if I don't upload them when it asks? Previously using `Version: 1.0.16` when recorded (but not uploaded) Recently updated to `Version: 1.2.0-1`
kerem closed this issue 2026-02-25 20:32:43 +03:00
Author
Owner

@ku1ik commented on GitHub (May 27, 2016):

They are stored in $TMPDIR.

<!-- gh-comment-id:222083753 --> @ku1ik commented on GitHub (May 27, 2016): They are stored in `$TMPDIR`.
Author
Owner

@abhisekp commented on GitHub (May 27, 2016):

@sickill but echo $TMPDIR gives me nothing. And when I ls /tmp, i don't see any asciinema files. At least nothing there seems like asciinema files.

Just so you know, I was using Version: 1.0.16 when I recorded (but not uploaded) and recently upgraded to Version: 1.2.0-1.
I recoding using older version but didn't upload them.

<!-- gh-comment-id:222084762 --> @abhisekp commented on GitHub (May 27, 2016): @sickill but `echo $TMPDIR` gives me nothing. And when I `ls /tmp`, i don't see any asciinema files. At least nothing there seems like asciinema files. Just so you know, I was using `Version: 1.0.16` when I recorded (_but not uploaded_) and recently upgraded to `Version: 1.2.0-1`. I recoding using older version but didn't upload them.
Author
Owner

@ku1ik commented on GitHub (May 27, 2016):

We use ioutil.Tempfile (see here https://github.com/asciinema/asciinema/blob/master/commands/rec.go#L77), not sure where this would be on your system...

<!-- gh-comment-id:222093454 --> @ku1ik commented on GitHub (May 27, 2016): We use `ioutil.Tempfile` (see here https://github.com/asciinema/asciinema/blob/master/commands/rec.go#L77), not sure where this would be on your system...
Author
Owner

@abhisekp commented on GitHub (May 27, 2016):

@sickill I don't know golang. Can you please write a program to display the os.TempDir() output real quick and how to execute it?
Thank you.

I installed golang yesterday inspired by asciinema project. 😸

<!-- gh-comment-id:222097350 --> @abhisekp commented on GitHub (May 27, 2016): @sickill I don't know golang. Can you please write a program to display the `os.TempDir()` output real quick and how to execute it? Thank you. > _I installed golang yesterday inspired by asciinema project._ :smile_cat:
Author
Owner

@abhisekp commented on GitHub (May 27, 2016):

OK. I wrote a mini program without learning Golang 😄

// showTempDir.go
package main

import "fmt"
import "os"

func main() {
  var osTemp = os.TempDir()
  fmt.Printf("%s\n", osTemp)
}
➔ go run showTempDir.go 
/tmp

So my os.TempDir() points to /tmp which I checked earlier and also checked again but I didn't find any json files. Other files since Mar 25th are present but I couldn't find any trace of the asciinema recording which I recorded yesterday.

Please know that I recorded using older version i.e. Version 1.0.16 yesterday.

Please confirm whether the recordings were saved if not uploaded or they were discarded in the older release. Also in the older version, I was unable to execute command like this asciinema -t "PGP Game" rec pgp-game.json. It showed me error i.e. it didn't accept any filenames as the last arg. I also tried using asciinema rec pgp-game.json but meh ... nothing 😑

Anyway, this was a minor incident.


And thanks for creating this awesome app 😃 👍

<!-- gh-comment-id:222124563 --> @abhisekp commented on GitHub (May 27, 2016): OK. I wrote a mini program without learning Golang :smile: ``` go // showTempDir.go package main import "fmt" import "os" func main() { var osTemp = os.TempDir() fmt.Printf("%s\n", osTemp) } ``` ``` sh ➔ go run showTempDir.go /tmp ``` So my `os.TempDir()` points to `/tmp` which I checked earlier and also checked again but I didn't find any `json` files. Other files since Mar 25th are present but I couldn't find any trace of the asciinema recording which I recorded yesterday. Please know that I recorded using older version i.e. `Version 1.0.16` yesterday. Please confirm whether the recordings were saved if not uploaded or they were discarded in the older release. Also in the older version, I was unable to execute command like this `asciinema -t "PGP Game" rec pgp-game.json`. It showed me error i.e. it didn't accept any filenames as the last arg. I also tried using `asciinema rec pgp-game.json` but meh ... nothing :expressionless: Anyway, this was a minor incident. --- And thanks for creating this awesome app :smiley: :+1:
Author
Owner

@ku1ik commented on GitHub (May 28, 2016):

What's version 1.0.16? There wasn't such release. Here are all released versions: https://github.com/asciinema/asciinema/blob/master/CHANGELOG.md

<!-- gh-comment-id:222321896 --> @ku1ik commented on GitHub (May 28, 2016): What's version 1.0.16? There wasn't such release. Here are all released versions: https://github.com/asciinema/asciinema/blob/master/CHANGELOG.md
Author
Owner

@abhisekp commented on GitHub (May 29, 2016):

huh? How is that possible? I had that release (at least that's what asciinema cli reported).
This is going really creepy now. 😨
I'm scared 😱

<!-- gh-comment-id:222344584 --> @abhisekp commented on GitHub (May 29, 2016): _huh?_ How is that possible? I had that release (_at least that's what asciinema cli reported_). This is going really creepy now. :fearful: I'm scared :scream:
Author
Owner

@nmrao commented on GitHub (Oct 31, 2016):

Having the same experience as @abhisekp on ubuntu 16.04 with asciinema 0.9.8. It shows Too many arguments when I type command asciinema rec test.json for recording with filename. Here is the recording. Hope this isn't working as per documentation.
By the way, I just came know about it today and loving the tool. Thank you for such nice tool.
update:
Just going by the changelog link provided by @sickill and felt I am using old version. Could this be a reason? But that is what I get when installed with apt-get install asciinema.

<!-- gh-comment-id:257199390 --> @nmrao commented on GitHub (Oct 31, 2016): Having the same experience as @abhisekp on ubuntu 16.04 with `asciinema 0.9.8`. It shows `Too many arguments` when I type command `asciinema rec test.json` for recording with filename. [Here is the recording](https://asciinema.org/a/8hszihrdf6dzoxajtkv94mpz5). Hope this isn't working as per documentation. By the way, I just came know about it today and loving the tool. Thank you for such nice tool. **update:** Just going by the changelog link provided by @sickill and felt I am using old version. Could this be a reason? But that is what I get when installed with `apt-get install asciinema`.
Author
Owner

@ku1ik commented on GitHub (Oct 31, 2016):

@nmrao yes, 0.9.8 is very old version and it doesn't support recording to a file. Unfortunately there's still no updated version in Ubuntu repository.

<!-- gh-comment-id:257252983 --> @ku1ik commented on GitHub (Oct 31, 2016): @nmrao yes, 0.9.8 is very old version and it doesn't support recording to a file. Unfortunately there's still no updated version in Ubuntu repository.
Author
Owner

@nmrao commented on GitHub (Oct 31, 2016):

Thank you @sickill for your prompt response with details. If there are instructions that can be used to apply the update manually, then I would be glad to update.

<!-- gh-comment-id:257331453 --> @nmrao commented on GitHub (Oct 31, 2016): Thank you @sickill for your prompt response with details. If there are instructions that can be used to apply the update manually, then I would be glad to update.
Author
Owner

@ku1ik commented on GitHub (Nov 1, 2016):

@nmrao the following should work to install asciinema from git checkout:

git clone https://github.com/asciinema/asciinema.git
cd asciinema
sudo python3 setup.py install
<!-- gh-comment-id:257513623 --> @ku1ik commented on GitHub (Nov 1, 2016): @nmrao the following should work to install asciinema from git checkout: ``` git clone https://github.com/asciinema/asciinema.git cd asciinema sudo python3 setup.py install ```
Author
Owner

@nmrao commented on GitHub (Nov 2, 2016):

Thanks. I'll try.
On 01-Nov-2016 2:03 PM, "Marcin Kulik" notifications@github.com wrote:

@nmrao https://github.com/nmrao the following should work to install
asciinema from git checkout:

git clone https://github.com/asciinema/asciinema.git
cd asciinema
sudo python3 setup.py install


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/asciinema/asciinema/issues/161#issuecomment-257513623,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AEbSe5qfx8xOQj3nN6xi-LHtzxJRE1pBks5q5vlIgaJpZM4IoOZf
.

<!-- gh-comment-id:257898600 --> @nmrao commented on GitHub (Nov 2, 2016): Thanks. I'll try. On 01-Nov-2016 2:03 PM, "Marcin Kulik" notifications@github.com wrote: > @nmrao https://github.com/nmrao the following should work to install > asciinema from git checkout: > > git clone https://github.com/asciinema/asciinema.git > cd asciinema > sudo python3 setup.py install > > — > You are receiving this because you were mentioned. > Reply to this email directly, view it on GitHub > https://github.com/asciinema/asciinema/issues/161#issuecomment-257513623, > or mute the thread > https://github.com/notifications/unsubscribe-auth/AEbSe5qfx8xOQj3nN6xi-LHtzxJRE1pBks5q5vlIgaJpZM4IoOZf > .
Author
Owner

@figuernd commented on GitHub (Jun 21, 2019):

They are stored in $TMPDIR.

For others searching for this answer: if you specify a file name it will save to the current working directory, not $TMPDIR.

<!-- gh-comment-id:504531736 --> @figuernd commented on GitHub (Jun 21, 2019): > They are stored in `$TMPDIR`. For others searching for this answer: if you specify a file name it will save to the current working directory, not $TMPDIR.
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#122
No description provided.