Skip to content

Instantly share code, notes, and snippets.

@patharanordev
Created November 20, 2021 08:07
Show Gist options
  • Save patharanordev/bb513eb7c755071ee0221a60fe1626bc to your computer and use it in GitHub Desktop.
Save patharanordev/bb513eb7c755071ee0221a60fe1626bc to your computer and use it in GitHub Desktop.

Compress with 7zip in Ultra mode on MacOS

Requires p7zip :

$ brew install p7zip

Compress :

$ 7z a -t7z -mx=9 dataset_chair.7z ./dataset_chair

In case you would like to uncompress on other Linux(ex. ubuntu), it requires p7zip :

$ apt-get install p7zip-full

Uncompress :

$ p7zip -d ./dataset_chair.7z
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment