.ie \n(.g .ds Aq \(aq .el .ds Aq ' .TH asciinema-rec 1 "rec " .SH NAME asciinema\-rec \- Record a terminal session .SH SYNOPSIS \fBasciinema rec\fR [\fB\-I\fR|\fB\-\-input\fR] [\fB\-a\fR|\fB\-\-append\fR] [\fB\-f\fR|\fB\-\-format\fR] [\fB\-\-overwrite\fR] [\fB\-c\fR|\fB\-\-command\fR] [\fB\-\-filename\fR] [\fB\-\-env\fR] [\fB\-t\fR|\fB\-\-title\fR] [\fB\-i\fR|\fB\-\-idle\-time\-limit\fR] [\fB\-\-headless\fR] [\fB\-\-tty\-size\fR] [\fB\-\-server\-url\fR] [\fB\-q\fR|\fB\-\-quiet\fR] [\fB\-h\fR|\fB\-\-help\fR] <\fIPATH\fR> .SH DESCRIPTION Record a terminal session .SH OPTIONS .TP \fB\-I\fR, \fB\-\-input\fR Enable input recording .TP \fB\-a\fR, \fB\-\-append\fR Append to an existing recording file .TP \fB\-f\fR, \fB\-\-format\fR=\fIFORMAT\fR Recording file format [default: asciicast] .br .br [\fIpossible values: \fRasciicast, raw, txt] .TP \fB\-\-overwrite\fR Overwrite target file if it already exists .TP \fB\-c\fR, \fB\-\-command\fR=\fICOMMAND\fR Command to record [default: $SHELL] .TP \fB\-\-filename\fR=\fITEMPLATE\fR Filename template, used when recording to a directory .TP \fB\-\-env\fR=\fIENV\fR List of env vars to save [default: TERM,SHELL] .TP \fB\-t\fR, \fB\-\-title\fR=\fITITLE\fR Title of the recording .TP \fB\-i\fR, \fB\-\-idle\-time\-limit\fR=\fISECS\fR Limit idle time to a given number of seconds .TP \fB\-\-headless\fR Use headless mode \- don\*(Aqt use TTY for input/output .TP \fB\-\-tty\-size\fR=\fICOLSxROWS\fR Override terminal size for the recorded command .TP \fB\-\-server\-url\fR=\fISERVER_URL\fR asciinema server URL .TP \fB\-q\fR, \fB\-\-quiet\fR Quiet mode, i.e. suppress diagnostic messages .TP \fB\-h\fR, \fB\-\-help\fR Print help .TP <\fIPATH\fR> Output path \- either a file or a directory path