Forrest logo
back to the screencapture tool

screencapture:tldr:c85e3

screencapture: Make a screen recording and save it to a file.
$ screencapture -v ${filename-mp4}
try on your machine

The command "screencapture" is used to capture the screen or a specified portion of the screen on a computer.

In this specific command, "-v" is an option that stands for "verbose", which means the command will provide more detailed output during its execution.

"${filename-mp4}" is a variable that represents the desired name of the output file. It will be saved as an mp4 file format. The variable is enclosed within curly braces "{}" and preceded by a dollar sign "$".

Overall, this command will capture the screen and save it as a video file (mp4 format) with the specified filename. The "-v" option will display additional information or progress during the execution of the command.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the screencapture tool