2010-01-14 18:34:05 +0000 2010-01-14 18:34:05 +0000
49
49
Advertisement

7-Zipとコマンドラインからの解凍

Advertisement

コマンドラインの7-Zipを使ってフォルダを解凍したいと思っています。

私はexample.zipというファイルを持っていて、そのファイルの内容をexampleというフォルダに解凍したいと思っています。

このために必要なコマンドは何ですか?

Advertisement
Advertisement

回答 (3)

64
64
64
2010-01-14 18:37:54 +0000

7z x example.zip -oexample

Usage: 7z <command> [<switches>...] <archive_name> [<file_names>...]
       [<@listfiles...>]

<Commands>
...
  x: eXtract files with full paths
<Switches>
...
  -o{Directory}: set Output directory

編集:

7z x *.zip -o*

extracts all *.zip archives to subfolders with names of these archives.

奇妙なことに、この例を見つけるために完全なヘルプファイルに行かなければなりませんでした。

4
4
4
2010-01-15 02:25:28 +0000

p7zip](http://en.wikipedia.org/wiki/P7zip)の場合。

7za e file.7z
3
Advertisement
3
3
2010-09-09 18:54:34 +0000
Advertisement

アーカイブから1つのファイル、または選択したファイルのセットを再帰的にカレントフォルダに抽出します。

7za.exe e art.archive -ir!*Art.jpg
Advertisement

関連する質問

7
5
15
4
5
Advertisement