1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages/common/ect.md

17 lines
477 B
Markdown
Raw Normal View History

2019-04-28 21:17:03 +10:00
# ect
> Efficient Compression Tool (or ECT) is a C++ file optimizer. It supports PNG, JPEG, GZIP and ZIP files.
> More information: <https://github.com/fhanau/Efficient-Compression-Tool>.
2019-04-28 21:17:03 +10:00
- 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}}`