Tag Info

New answers tagged

1

7z and lzma are the same compression algorithm, with a different container. 7z with solid archive mode enabled should do about as well as tar.7z, and provide not as bad random random access to a single file. (Still bad, though.) pdf uses gzip internally, which makes it not very compressible. Same for most image formats (although the choice of entropy ...


1

I guess many people who come via Google to this question mean "archive and compress" when they write "zip". An alternative to the zip format is tar: tar -czf copy.tar.gz whatever/ where the compressed archive file will be copy.tar.gz and the contents will be everything in the folder whatever. -c, --create create a new archive -z, --gzip, ...


0

The original UNIX tar command did not compress archives. As was mentioned in a comment, Solaris tar doesn't compress. Nor does HP-UX, nor AIX, FWIW. By convention, uncompressed archives end in .tar. With GNU/Linux you get GNU tar. (You can install GNU tar on other UNIX systems.) By default it does not compress; however, it does compress the resulting ...


3

Both traditional archiving tools tar and cpio preserve ownership and Unix permissions (user/group/other) as well as timestamps (with cpio, be sure to pass -m when extracting). If you don't like their arcane syntax┬╣, you can use their POSIX replacement pax (pax -w -pe) All of these output an uncompressed archive; pipe the archive into a tool like gzip or xz ...


2

If you're talking about linux systems then another option for you is squashfs. It can often achieve very high compression ratios - and the compression process itself is multi-threaded - which means that you can apply all processor cores to the compression task. A squashfs archive differs from most other kinds in that it is a file-system. If you've ever ...


4

Yes. tar retains the owner and permissions. Wikipedia: tar The archive data sets created by tar contain various file system parameters, such as time stamps, ownership, file access permissions, and directory organization.



Top 50 recent answers are included