A favorite by many Linux features is the ability to compress files easily without using tools other extras. Compressing files is important when, for example, want to recover or save physical space to be transported a significant amount of files to a remote location on disk or when you go.

In such cases the command "gzip"Which is available by default Deepin and most other distributions you can give us great benefits.

In this tutorial we will learn how to use efficiently gzip as well as gunzip which is the opposite command gzip and you can decompress files in which you work with gzipBoth will make things easier when working and increase your productivity. You also learn how to encrypt files for added security with the command zipcloak.

Say you have in the directory / Home / user / Desktop the file: "Reportes.odt" y deseas comprimirlo para enviarlo por correo electrónico, el fichero es considerablemente grande y sera difícil enviarlo así. para disminuir el tamaño de ese fichero para fácil envió simplemente utiliza:

gzip reportes.odt

Después de ejecutar el comando arriba terminaras con un fichero en lugar de dos, el original «reportes.odt» ya no estará disponible y su lugar tendrás: «reportes.gz«. El cual quieres utilizar para enviar llamado ahora «reportes.gz». Este ha sido comprimido reduciendo considerablemente su tamaño.

La persona que reciba dicho fichero o tu mismo si deseas utilizar el original «reportes.odt» nuevamente deberá descomprimirlo por medio del comando «gunzip» (Los usuarios en Windows, o los de Linux si así desean, lo harán por medio de una utilidad gráfica como Winrar, Winzip o la función por defecto para descomprimir de su SO etc). por ejemplo para descomprimir el fichero en el ejemplo arriba escribiremos en la terminal:

gunzip reportes.gz

Los ejemplos arriba son para un fichero solamente, digamos que tienes cientos de ficheros o incluso directorios completos y su-directorios con ficheros dentro de estos. Entonces los comandos varían un poco y utilizaremos «zip» esta vez.

Digamos que tienes los ficheros «reportes.odt» y «reportes2.odt» en /home/user/Desktop. y deseas comprimirlos todos en un solo fichero. Primero deberás idear un nombre para tu nuevo archivo, en este caso escogeremos «Reportes"As the name of the new file you create with all other files contained. To accomplish this we go to the terminal and type:

zip reportes.odt reportes2.odt

You run the above command will give a new file named ""As we had planned. While doing this Deepin also inform you of how much disk space you've saved once you've compressed files.

The above action does not move the original files to the new file as above, and to use them again uncompress not be necessary, however to use the files in the new file if you do not already have the original or have received a file .zip someone else must decompress this time using the command "unzip ":


How to encrypt files in Deepin

But let's say you want to encrypt the file for security reasons, so that the terminal also offers a utility and is the command "zipcloak". as in the following example:


When you run this command the utility will ask you to provide a password for the protected file, and once the process is finished you will get a new protected file. This is make sure DO NOT FORGET the password you chose or otherwise you will be completely impossible to recover the files contained within the new protected file.

When decompress and de-encrypt the file Deepin course will ask the password you used when creating the file.

Now you know how to compress, decompress and encrypt files in Deepin.


What do you think about it?

please Enter to comment
1 Comment threads
1 Responses thread
Comment with more reactions
Highly Commended thread
2 Authors comments
EliGorditoInocente Authors of the most recent comments
Newer oldest More popular
Report of

And you can change the extension to .rar and others?