Closed LARVM closed 2 years ago
Hi!
You can compress a file to an existing archive by enabling the update mode in BitCompressor
.
E.g.:
Bit7zLibrary lib{};
BitCompressor compressor{lib, BitFormat::SevenZip};
compressor.setUpdateMode(true);
//Adding "new_file.ext" to the existing archive
compressor.compressFile(L"path/to/new_file.ext", L"path/to/existing_archive.7z");
Yes, Thanks!
I want to compress the file in a path to my 7z compressed file, is it supported?