Unixでディレクトリを解凍する[閉じる]

Unixでディレクトリを解凍する[閉じる]

unzipUnixでフォルダを試してみました。

$ unzip sample.zip

これはルート構造を作成することですa/b/c/d/e/f/sample

unzip現在のディレクトリにフォルダが必要です。

ベストアンサー1

unzip(1)マニュアルページから:

   -j     junk paths.  The archive's directory structure is not recreated;
          all files are deposited in the extraction directory (by default,
          the current one).

おすすめ記事