File compression is a way to create archives that help us in saving time, creating space and downloading and transferring software and data faster. You can use a compressed file to distribute related files on the Internet, all compressed into a single file, without any loss of data. If you need space on your system or an external storage device, you can compress files into smaller archived file(s). In this article, we will describe how you can compress single and multiple files and folders into the following formats:
We have run the commands and procedures mentioned in this article on a Ubuntu 18.04 LTS system.
In order to compress a single file through the Ubuntu UI, select the file and then click compress from the right-click menu:
The following Create Archive dialog will appear:
Specify a name for the archive file and then select the format you want to compress the file to. Then click the Create button and your selected file will be compressed to your desired archive format.
In order to compress multiple files into one archive folder, select the files (existing in the same directory) and then select compress from the right-click menu as follows:
The following Create Archive dialog will then appear:
Specify a name for the archive file that will include all your selected files, and then select the format you want to compress the files to. Then click the Create button and your selected files will be compressed to your desired archive format.
In order to compress a single folder through the Ubuntu UI, select the folder and then click compress from the right-click menu:
The following Create Archive dialog will appear:
Specify a name for the archive file and then select the format you want to compress the folder to. Then click the Create button and your selected folder will be compressed to your desired archive format.
You can also compress multiple folders into one archive folder. Select the folders (existing in the same directory) and then select compress from the right-click menu, and then specify the archive name and format through the Create Archive dialog.
In another article, we will also explain how to compress files and folders through the Ubuntu command line. Till then, you can easily use the UI to create .zip, .tar.xz and .7z archive files.
Magento is a free and open-source e-commerce platform written in PHP. It is simple, easy…
ISPConfig is an open-source control panel that allows users to manage multiple servers from a…
As a Linux administrator, you may find it necessary to troubleshoot or test your Simple…
Ubuntu 24.04, like many modern Linux distributions, relies on the NetworkManager for managing network connections.…
Restic is a modern, open-source backup program designed for efficiency, security, and simplicity. It enables…
phpMyAdmin is a popular free tool written in PHP intended to administer MySQL and MariaDB…