# -t (set Type of archive) switch

Specifies the type of archive.

#### Syntax

    -t{archive_type}

{archive_type}
  Specifies the type of archive. It can be: 7z, split, zip, gzip, bzip2, tar, .... 7z format is the default.

Note: gzip or bzip2 formats support only one file per archive. If you want to compress more than one file to these formats, create a tar archive first, and then compress it with your selected format.

#### Example

    7z a -tzip archive.zip *.txt

adds all *.txt files from current directory to zip archive archive.zip.

    7z t -t7z.split archive.7z.001

tests all files in archive.7z.001. It also checks that archive is multivolume .7z archive.

    7z x -tiso archive.iso

extracts files from archive.iso open as ISO archive.

    7z x -tudf archive.iso

extracts files from archive.iso open as UDF archive.

#### Commands that can be used with this switch

a (Add), d (Delete), e (Extract), l (List), t (Test), u (Update), x (Extract with full paths)