Syntax for never/always compress

I can’t find any documentation, how to specify the values for --add-never-compress: is it .mp4, mp4 or *.mp4 and is it case insensitive?

I looked at the relevant source code:

  • it is not a glob pattern, it is matched against the result of path/filePath.Ext(), which takes the extension from the current file. The string must include the dot: .mp4
  • the match is case sensitive.
1 Like

Is it comma or whitespace seperated?
A full example would be helpfull e.g. --add-never-compress=.mp4 .MP4 .7z .7Z or --add-never-compress=".mp4 .MP4 .7z .7Z"

A list of extension can be found here