Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
指定されたディレクトリ全体からすべてのファイルを取得する方法は理解していますが、ディレクトリ全体を内部構造 (つまり内部フォルダー) を維持したまま圧縮する方法はわかりません。
私は ZipStorer を使用していますが、例を見て喜んでいます。
ディレクトリ構造は別の実体です。そのため、ディレクトリ ツリー構造を取得し、個別に保存/圧縮する必要があります。解凍時に、このディレクトリ ツリーを再作成し、元の位置に対応するファイルを明示的に配置する必要があります。