Repository navigation
Archives
| Format | Create | Extract | Needs |
|---|---|---|---|
.zip (also .jar, .apk for extracting) |
yes | yes | nothing |
.tar.gz, .tgz
|
yes | yes | nothing |
.tar |
no | yes | nothing |
.tar.xz, .txz
|
yes | yes |
tar, xz
|
.tar.bz2, .tbz2
|
yes | yes |
tar, bzip2
|
.tar.zst, .tzst
|
yes | yes |
tar, zstd
|
.7z |
yes | yes |
7z (or 7za, 7zz) |
.rar, .iso, .cab, .deb, .rpm, .gz, .xz, .bz2, .zst
|
no | yes | 7z |
Formats whose tools are missing are left out of the Compress dialog.
On Debian or Ubuntu, sudo apt install xz-utils bzip2 zstd p7zip-full installs every tool.
Select the items, then context menu → More actions → Compress…. The dialog asks for:
| Field | Default |
|---|---|
| Name | The name of the item when one is selected, otherwise the name of the open folder |
| Format | .zip |
The archive is created in the open folder. Items keep their relative paths, permissions and symbolic links inside the archive. Compression runs in the operations list. Undo moves the archive to the trash.
Compress works on items of the open folder. In search results, Recent or Bookmarks, open the item's folder first.
| Entry | Result |
|---|---|
| Extract here | Unpacks into a new folder beside the archive, named after the archive without its extension: photos.tar.gz → photos. If that name is taken, photos (extracted). |
| Extract to… | Unpacks into a folder chosen in a folder picker. |
Extraction runs in the operations list. If it fails, the new folder is removed. Undo moves the extracted items to the trash.
With the Quick Look plugin on, Space on an archive lists its contents as a folder tree, with sizes, the unpacked size, the compression ratio and a lock on encrypted entries. Nothing is extracted.