In-place archive decryption
AstroSnail opened this issue · comments
I have a question: is it possible to decrypt an encrypted 7z archive in-place, similarly to zipcloak -d
for zip?
If not, are there alternative steps that achieve a similar effect? (preserve metadata, ideally also preserve compression and file order)
You can use a shell script to unpack and repack the xxx.7z file and add whatever you want.
that shell script method risks losing metadata (i tested this and the file attributes were not preserved), and is extremely slow (and space-inefficient if done naively). it's not exactly what i'm asking for. i'd like a method that doesn't lose metadata, and ideally simply decrypts the compressed files instead of de- and re-compressing