Created
May 21, 2019 14:50
-
-
Save dwlince/0e89c3fd72abf9d98fee69cd7013c1ab to your computer and use it in GitHub Desktop.
Comprimir y descomprimir .gz, .tar.gz, y .zip por linea de comandos en Linux
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Archivos .tar.gz: | |
Comprimir: tar -czvf empaquetado.tar.gz /carpeta/a/empaquetar/ | |
Descomprimir: tar -xzvf archivo.tar.gz | |
Archivos .tar: | |
Empaquetar: tar -cvf paquete.tar /dir/a/comprimir/ | |
Desempaquetar: tar -xvf paquete.tar | |
Archivos .gz: | |
Comprimir: gzip -9 index.php | |
Descomprimir: gzip -d index.php.gz | |
Archivos .zip: | |
Comprimir: zip archivo.zip carpeta | |
Descomprimir: unzip archivo.zip |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment