![]() ![]() This may matter, or it may not, in which case it doesn't matter (because the file-size difference is in most cases negligible).Īpparently, modern versions of ZIP also store Unix-file-attributes (depends on your ZIP-software), so with modern-zip-software, the file-size will be the only difference. So you see, appart from file size, if you zip a bunch of files on Linux/Unix, and then unzip them, the file-attributes will be gone (at the very least those not supported by MS-DOS - depends on what ZIP-software you use). In this article, we will explore how to use it along with its different. And remember to man tar :) tar cfJ <> Edit : If youre passing the arguments to tar with dashes (ex: tar -cf as opposed to tar cf ), then the -f option must come last, since it specifies the filename (thanks to A-B-B for pointing that out). GNU Tar (Tape Archiver) is an open source file compression and decompression tool.![]() Includes a file table at the end of the fileīecause zip compresses the files individually, a zip-archive will most-likely have a larger size (especially with many smaller files - think config files). 7 Answers Sorted by: 354 Use the -J compression option for xz.Compresses each file individually, then consolidates the individually compressed files in one file.Many modern Unix systems, such as Linux, use GNU tar, a version of tar produced by the Free Software Foundation. Actual compression is done by GZIP, on the one. Janu225K views Learn how to quickly compress an entire directory into a single tar file with the command line.Consolidates all files to be archived in one file ("Tape ARchive"). This will create a file named something like. ![]() The default may depend on your distribution, and can be toggled with options. Stores unix file attributes: uid, gid, permissions (most notably executable). Red Hat Linux includes a graphical utility called File Roller that can compress, decompress, and archive files and directories. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |