Forrest logo
back to the brotli tool

brotli:tldr:c9811

brotli: Compress a file specifying the output filename.
$ brotli ${filename} -o ${path-to-compressed_output_file-br}
try on your machine

This command is using the brotli compression tool to compress a file.

  • ${filename} is a placeholder for the name of the file to be compressed. You need to replace it with the actual file name.

  • -o ${path-to-compressed_output_file.br} is an option of the brotli command that specifies the output file name and its path for the compressed version. ${path-to-compressed_output_file.br} is a placeholder for the desired path and name (including the file extension .br) of the compressed output file. You need to replace it with the actual path and name where you want the compressed file to be saved.

When you run this command with the appropriate values for ${filename} and ${path-to-compressed_output_file.br}, brotli will compress the specified file and save the compressed version at the specified location.

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 brotli tool