Last active
July 13, 2023 11:03
-
-
Save jcaromiq/87319ea132135700a23305c82ee38899 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