Linux Command Line (49) bzip2, xz, zip tar files

Описание к видео Linux Command Line (49) bzip2, xz, zip tar files

bzip2 is a compression method that can compress files to a smaller compressed file size than gzip, but may take longer to run. xz is another compression method that can create compressed files smaller than bzip2, but may take longer than bzip2 to run.

We can create a tar file and compress it in a single command by adding the "z" option to the tar command, to zip a tar file with the file with gzip compression. Adding a "j" option to the tar command will zip the file with bzip2 compression and adding the "J" option will zip the tar file using the xz compression method.

Which compression method is best depends on what is being archived and zipped. Files that are already compressed and very small files, will show less differences between the 3 compression methods. Very large uncompressed files will show more more differences with the compressed archive file size and the time it takes to create that archive file.

See the complete LCL playlist at:    • Linux Command Line  (01) What Is The ...  

Website link:
https://thefrugalcomputerguy.com/linu...

Комментарии

Информация по комментариям в разработке