bash tar - ghdrako/doc_snipets GitHub Wiki
tar, short for tape archive, is a command-line tool used in Linux and other Unix-based operating systems for creating, manipulating, and extracting archive files.
tar [options] [archive-file] [file or directory to be archived]
Pakowanie
tar -czvf config.tgz ./config
czvf
option supplied in the preceding command is used to create a compressed archive in gzip format.
The options are as follows:
- Create an archive
- Compress the archive using gzip
- Display progress information
- Specify the name of the archive file
Rozpakowanie
tar -xzvf config.tgz
Bez opcji z
dzialmy na plikach tar a z opcja z
na plikach tgz tar.gz