← 返回命令列表

Linux command

t-rec 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Record the current terminal session

t-rec

Generate both GIF and MP4 output

t-rec --video

Record with drop shadow using a specific shell

t-rec -d shadow /bin/sh

说明

t-rec captures terminal sessions and converts them into animated GIF images or MP4 videos. It features intelligent idle frame detection for optimized file sizes, configurable framerate, optional decorative effects like drop shadows, and can record any window. Runs entirely offline on macOS, Linux, and NetBSD.

参数

--video
Generate both GIF and MP4 output.
-d _DECOR_
Apply decorative effect (e.g., shadow).

FAQ

What is the t-rec command used for?

t-rec captures terminal sessions and converts them into animated GIF images or MP4 videos. It features intelligent idle frame detection for optimized file sizes, configurable framerate, optional decorative effects like drop shadows, and can record any window. Runs entirely offline on macOS, Linux, and NetBSD.

How do I run a basic t-rec example?

Run `t-rec` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does --video do in t-rec?

Generate both GIF and MP4 output.