Dne čtvrtek 23 březen 2006 15:44 Karai Csaba napsal(a): > > 1) setting compression level even for tar.gz > > That's a hard question, because tar doesn't support setting the > compression levels for gzip/bzip2. > > Two solutions are possible: > > 1. > tar cvf arch.tar files... > gzip --best arch.tar > > 2. > tar -cv files... | gzip --best >output.tar.gz > > Both versions are terrifying. > > > The first one is wrong because of the doubled diskspace it requires. > The second one requires more coding, and results minimal size difference. I thought of the tar cf - files | gzip -[1-9] >output.tar.gz, but if it requires much coding, it is not necessary.
> > 2) .a (ar) support > > Not commonly used archive. Ar protocol handles it, All static libraries use it ;-) > Konfigurator->Protocols > > Select the ar protocol, and attach it the application/x-archive mimetype. Thanks, this works. > > 3) Especially for 7zip it would be useful to set the used memory (-md > > parameter, see for example > > http://amp.iem.pw.edu.pl/doc/p7zip/MANUAL/switches/method.htm > > for the list of parameters (older version) ). > > 7z is not a commonly used archive, and I think it'll never spread in the > linux world because of its architecture. > > - doesn't save the linux permissions can be used as tar.7z For most purposes, permissions don't matter (source tarballs, user documents) > - the decoder should contain at least 6-7 totally different > decompression methods Since it is > - its code is an ugly hack, a typical Windows mash > > I don't predict any future for 7z. Only it's default compression method > the LZMA has the chance to survive, but it's not sure. > > The size of the hard disk are big now, compressed size is not relevant But the network connectivity is sometimes limited. And for example older krusader source tarball tar.gz=5.4MB, tar.rz/7z=2MB > - tar,gz the fastest algorithm, and it's more important than the size > - tar.rz (RZIP) is slower than LZMA, but generates better result rzip does not support pipes, so 7zip is better in *nix world. I tested it, and the ratio of 7zip(using lzma method) was better, but it is much slower (about three times for the same compression ratio). > - tar.lz (LZMA) requires much memory, fast with good compression. but it is (as yet) unexchangeable with Windows users. > - tar.bz2 slow, average compression, works well with few memory My personal opinion is, that bz2 will be replaced in favor of 7z or lzma. 7z or rzip can make better result in better time (tested). > Because of the uncertain future of 7z, I didn't put all of its features > onto the GUI. I implemented only the simplest compression and > decompression functions, which were easy to do. ok, it was just an idea. Bye Václav --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "krusader-users" group. To post to this group, send email to krusader-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/krusader-users -~----------~----~----~----~------~----~------~--~---