zip

Linux · Files · available in the simulator

What it does

Creates ZIP archives.

Syntax

zip [opciones] archivo.zip archivos...

Options and parameters

  • -r

    Recursively includes directories.

    zip -r copia.zip carpeta/
  • -e

    Encrypts the contents, prompting for a password.

  • -9

    Maximum compression.

  • -x

    Excludes files matching the specified pattern.

  • -d

    Deletes files from an existing zip archive.

Usage examples

  • zip -r sitio.zip sitio/
  • zip -r copia.zip carpeta/
Practise zip

Related commands