1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

Mac ターミナルからコマンドでファイルをzip化する

Posted at

目的

  • Macのターミナルでファイルをzip化するコマンドをメモ的にまとめる。

前提情報

  • 筆者のMacはシェルをbashに切り替えている

詳細

  1. ファイルをzip化するときは下記コマンドを実行する。

    $ zip zip化したファイルの設置場所とzipファイル名 zip化するファイル
    
  2. ディレクトリをzip化するときは下記のコマンドを実行する。

    $ zip -r zip化したディレクトリの設置場所とzipファイル名 zip化するディレクトリ
    
1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?