Menu

#1686 Could you add a CLI option to set the `removePathParts`?

open
CLI (1)
5
4 days ago
4 days ago
YX Hao
No

Dear Igor,

removePathParts: https://github.com/ip7z/7zip/blob/26.01/CPP/7zip/UI/Common/ArchiveExtractCallback.cpp#L326

It can reduce the number of operations required after extraction.

Applicable scenarios:

  • F.exe contains core\ and setup.exe. We want to extact the contents of core\ directly into D:\F-portable\, for example, for updates/overwriting.
  • Huge file A.7z contains some very\long\deep\dir\s. We want to extact a selected dir to a place with a short path.

Discussion


Log in to post a comment.

MongoDB Logo MongoDB