Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Compressing with Keka
Keka compression formats
7z, Zip, Tar, Gzip, Bzip2, DMG, ISO
How to compress some files
- Simply drag and drop some files to the Keka window.
- Also you can drag and drop to the Keka icon in the dock.
- Don't forget you have a secondary option in the Keka window, which can be useful for compressing already compressed files.
You can set the method of compression using the slider, from no compression (for packaging purposes) to maximum compression. The more compression level you set, the more time the process will take. Depending on the type and size of the files you're compressing, changing to a higher compression method will result in substantially more little files.
Creating a parted compressed file
It was very common in the early internet days to split big files to upload them easily to internet servers and for clients to download them more securely. It is still used for some purposes, with very big files, and Keka can split files. Just choose an item from the split list or set your wanted size, being it in bytes [b], kilobytes [k-kb], megabytes [m-mb], gigabytes [g-gb] or terabytes [t-tb].
Password protected and encrypted files
If you want to share important information or just, like me, are a freak of security, you'll need to encrypt your compressed files. Keka does it quick. In 7z and Zip formats, just set the password you like in the Password and Repeat fields, see the padlock close, and you're set.
- If you're compressing in 7z format, you can choose to encrypt the filenames or not with the Encrypt filenames check, that is enabled by default. This option is not available on Zip since the encryption is applied per file. You can use some workarounds if needed.
- Compressed files in 7z format will be encrypted using AES-256.
- Compressed files in Zip format will be encrypted using Zip 2.0. You can enable AES-256 zip encrypted files with a command, but those files will be less portable since there's not much support in OSs yet.
More compression options
- Solid archive: Enabled by default. Usually results in faster and with higher ratio compression, but if you intend to edit the compressed file later, the process will be slower.
- Exclude Mac resource forks: Enabled by default. Creates archives that look clean in non Mac systems, such as Linux or Windows.
- Delete file(s) after compression: Disabled by default. Will delete the input files after they're successfully compressed. If the compressing fails, no files will be deleted.
- Archive as single files: Disabled by default. All files dropped at Keka will be compressed separately, i.e., if you drop two videos, it will result in two compressed files, one for each video.
- Volume name: It applies to DMG and ISO compression. Optional. It's the name that the image will use when mounted in macOS.