1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2024-10-30 22:38:23 +01:00

ect: add page (#2951)

This commit is contained in:
Lynne 2019-04-28 21:17:03 +10:00 committed by Starbeamrainbowlabs
parent 16c2b1f242
commit b776bf1b69

16
pages/common/ect.md Normal file
View file

@ -0,0 +1,16 @@
# ect
> Efficient Compression Tool (or ECT) is a C++ file optimizer. It supports PNG, JPEG, GZIP and ZIP files.
> Homepage: <https://github.com/fhanau/Efficient-Compression-Tool>.
- Compress a file:
`ect {{filename.png}}`
- Compress a file with the highest compression level and multithreading:
`ect -9 --mt-deflate {{filename.png}}`
- Compress all the files in a directory recursively, keeping the original modification time:
`ect -keep -recurse {{directory}}`