Last active
October 9, 2019 17:22
-
-
Save mloza/8de226198d92c239048cf9ee449125f4 to your computer and use it in GitHub Desktop.
Tar: Pakowanie i rozpakowywanie plików z poziomu konsoli, kod do postu https://blog.mloza.pl/pakowanie-i-rozpakowywanie-plikow-z-poziomu-konsoli
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
tar rjvf nazwa_archiwum.tar plik_do_dodania | |
tar ujvf nazwa_archiwum.tar.bz2 katalog/ |
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
tar cf nazwa_archiwum.tar katalog/ | |
tar czf nazwa_archiwum.tar.gz katalog/ | |
tar cjf nazwa_archiwum.tar.bz2 katalog/ | |
tar czf nazwa_archiwum.tar.xz katalog/ |
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
tar xf nazwa_archiwum.tar | |
tar xzf nazwa_archiwum.tar.gz | |
tar xjf nazwa_archiwum.tar.bz2 | |
tar xzf nazwa_archiwum.tar.xz |
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
tar -tf image.iso |
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
tar tjvf nazwa_archiwum.tar.bz2 |
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
tar cjvf nazwa_archiwum.tar.bz2 katalog/ | |
tar xjvf nazwa_archiwum.tar.bz2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment