Skip to content

Archives

Packing directories into one file, compressing and unpacking them, choosing the right compression method and checking that a file arrived intact.

Basics: Archiving vs. compressing, file extensions and the methods compared

Archives

  • tar


    Pack and unpack directories.

  • zip


    Create ZIP archives for Windows and macOS.

  • unzip


    List, test and extract ZIP archives.

Compress

  • gzip


    Fast, compatible everywhere.

  • bzip2


    Stronger than gzip, but slow.

  • xz


    The smallest files, slow to create.

  • zstd


    Fast and small, ideal for backups.

Verify