The bzip2/bunzip2 compression utility is part of the bzip family created by Julian Seward in 1996. Version 1 of bzip did not arrive to the public until some four years later. Because bzip2/bunzip2 manages to compress more than standard compression tools (such as gzip and zip), it does work a bit slower. The speed difference is negligible when working on smaller files, but when having to compress larger files, such as a kernel, there will be a noticeable difference. The trade off is having a much cheap smaller compressed file in the end.
Basic usageThe bzip2 and bunzip2 tackle two different tasks. The bzip2 tool handles compression and replacement the bunzip2 tool handles decompression. Because of this, the basic usage is very simple:
To compress a file the command would look shop like: bzip2 filename
Where filename is the actual file name to be compressed. The resulting compressed file will cheap look like filename.bz2.
To decompress a file the command would look like: bunzip2 filename.bz2
Where charger filename.bz2 is the actual file name to decompress. The resulting decompressed file will be filename.
The bzip2 tools are not gateway archiving tools. In order to compress a directory Dell xps m1210 Battery, the directory must be archived first. If you have a large directory, say TEMP Dell xps m1330 Battery, new and you want more compression than gzip gives you gateway laptop batteries, you will have to use the tar archiving tool to first archive the directory. Once the store directory is archived it can be compressed with gzip2. So both commands for this would look like:
tar cf TEMP.tar TEMP
bzip2 compaq TEMP.tar
The resulting file would be TEMP.tar.bz2
Final ThoughtsBoth bzip2 and bunzip2 have arguments that can be passed at discount the command line. One argument specifies block size to help ease memory usage during compression/decompression. This idea is outdated acer aspire because computers have evolved well beyond anything used when bzip2 was created. So unless memory usage is a real problem, these arguments zxcsky09520 aren't really necessary.
When you need serious compression and ease of use Dell Xps M1530 Battery, you need to look beyond the standard gzip and zip to bzip2.<
没有评论:
发表评论