i want to recompress the files in a 7z archive, with a higher method. How can i do this?
-si -so seems not to be that what i want because i get only one file(the stream?) inside the new archive.
I think you need to extract all files and then compress.
7za x ../firstArchive.7z
7za a -mx=9 ../secondArchive.7z .
(warning : I did not test this procedure …)
Hehe yes i know this proedure.
But, I compressed the file under win and now iam working an other machine with linux, so that when i extract some files they could not write to disk or at least the extraction failed for these files. So I want to avoid these by using pipes.
Iam using ubuntu x64 and 7z 9.04
I discoverd the problem. It is the fileroller per cmdline all works fine. :-)
But I have an additional Question:
How(Which cmdline) can I compress data to an 7z archive. While using lzma2 and bcj2 automatically?
you can select the type 7z by :
7z a -t7z -m0=lzma2 a.7z folder or filename