Linux - Managing your ZIP files

December 2016

ZIP files are specifically used under Microsoft Windows. Under Linux, the compression format is theGZip (.Gz) format or Tarball(.Tar.gz).

You can compress and decompress ZIP files with zip / unzip, available on most distributions.
  • To compress a set of files, use the following command:
    • zip-r file_directory  
  • The -r indicates that the contents of the directory must be compressed as well as sub-directories.
  • To unzip a file, use the following command:
    • unzip-d destination

Related :

This document entitled « Linux - Managing your ZIP files » from CCM ( is made available under the Creative Commons license. You can copy, modify copies of this page, under the conditions stipulated by the license, as this note appears clearly.