Working with 7zip on Mac

Working with 7zip on Mac

I am trying to get a good compression and 7z offers more ratio compression than other formats like zip or rar but on slower time.

So today I compressed a folder with more than 4,000 files mostly photos and videos just to compare zip with 7z the difference was only 100mb, is not a big difference but if you are interested how to do it on Mac, these are the steps:

Install p7zip (I used homebrew to install applications, see this post for more information):

brew install p7zip

Compress files or folders:

7z a file.7z file-or-folder

Extract a file with full path:

7z x file.7z

You also can consult the manual for extra options:

man 7z

Here is an example between zip and a 7z file: