Bundle files with tar5/3/2023 ![]() tar.bz2, because it is a "lowest common denominator" file format: much like most Windows users have access to. Many tools are distributed in source or binary form as. There are more than a few instances where one might need to glob a bunch of files into a single file or stream, but not necessarily compress it (although compression is useful and often used). Tar stores Unix permissions within its file metadata, and is very well known and tested for successfully packing up a directory with all kinds of different permissions, symbolic links, etc. If you notice, the amount of disk I/O in Way 2 is identical to the disk I/O performed by, say, the Zip or 7-Zip programs, adjusting for any differences in compression ratio.Īnd if compression ratio is your concern, use the Xz compressor to encapsulate tar, and you have LZMA2'ed TAR archive, which is just as efficient as the most advanced algorithm available to 7-Zip :-) Part 2: Features The total data we WROTE to disk in this process was 2 GB of uncompressed data + a few bytes for metadata = about 2 GB. The total data we READ from disk in this process was 1 GB of compressed data, period.
0 Comments
Leave a Reply. |