Configure file compression
Set up the compression settings to reduce file sizes.
Read time 1 minuteLast updated a month ago
Use compression to reduce the size of files in your Unity Version Control (UVCS) system, save storage space, and speed up data transfer. You can use the
compression.confcompression.conf- On Linux or macOS: .
$HOME/.plastic4 - On WIndows: .
C:\Users\user\AppData\Local\plastic4 - The root directory of your workspace.
Compression methods
You can select the type of compression that UVCS uses to store a new revision of a file in your database. The following operations create new changesets, which may contain new revisions that the compression rules affect:- check-in
- fast import
- sync replication
compression.conf- None
.zip
.zipcompression.conf
file configuration
Each line of the compression.confcompression.confThis examplenone .jpgzip .txt
compression.conf.txt.zip.jpegCompression rules
You can specify different types of rules, and the following is the order of application:- File path rule
- File name rule
- File extension rule
- Wildcard rule
/dir/foo.pngfoo.png.png/**/foo*.???
compression.confwkstestmain-test.pnguser1-test.pngtest-result.png.png/test01/main-test.png.zipzip .pngnone /test01/main-test.png