5 ms·
What are the advantages of this over tar?
by fleitz 12y ago
What are the advantages of this over tar?
- zamalek 12y agoIt has a name that cleverly sounds like you are swearing.
- StavrosK 12y agoThe four things in the first paragraph of the link?
- dietrichepp 12y agoWell, the first two are blatantly wrong. Tar is suitable for streaming and preserves the listed set of attributes.
- FooBarWidget 12y agohttps://news.ycombinator.com/item?id=9387959 https://news.ycombinator.com/item?id=9387959
- anon4 12y agoTar already has the first two, and even POSIX xattrs (which this doesn't preserve), the third seems useless (seems being the key word here, some people might find it useful), and I'd rather just use a program that will encrypt the archive for me (i.e. have a .tar.xz.enc). One advantage this could have over the above, is if you can open any file at random, as with the above scheme, you might have to linearly decrypt and decompress the entire archive up to that file.
- rakoo 12y agoTechnically speaking then, the tar utility cannot compress or encrypt per-file, but the tar format can be used for this, and since we're talking about format then the tar format can accomodate the requirements. It's just that there's no tool doing it at the moment. (A counter point: while each file could be compress and encrypted, there's nothing in the tar format that explicitly says so, meaning that each file would have to be probed to determine if it was compressed or encrypted)
- creshal 12y ago> One advantage this could have over the above, is if you can open any file at random, as with the above scheme, you might have to linearly decrypt and decompress the entire archive up to that file. 4Q uses CBC and the crypto lib doesn't seem to support random access, unless you manually divide your file into separately encrypted streams.