> Coverage
>> Append
Archive (archiving) is the packaging of many files (or directories) into one file
Common options for the tar command:
C: Create a new tar file.
T: Lists the contents of the directory in the tar file.
X: Extract the files from the tar file.
F: Specify the archive or tape (or possibly floppy) device (typically selected).
V: Displays the details of the packaged file, and V is the 1th letter of the verbose.
Z: Use the gzip compression algorithm to compress the packaged files.
J: Use the BZIP2 compression algorithm to compress the packaged file.
Package: Tar CF Test.tar Test test.txt
Show archived files: Tar tf Test.tar
Extract archive: Tar XF test.tar-c path
Compression is the use of a large file through some compression algorithm into a small file
gzip =! Gunzip
BZIP2 =! Bunzip2
Compression: gzip file1–c >/path/name.gz
Decompression: Gunzip file1.gz >
Compression: bzip2 file1 >
Decompression: Bunzip2 file1.bz2 >
Package compression: Tar cvfz file.tar.gz file
Package compression: Tar cvfj file.tar.bz2 file
Linux Learning notes-merging and archiving of documents