LoginSignup
8
9

More than 5 years have passed since last update.

Macでパスワード付きZipの作成

Last updated at Posted at 2014-01-22

仕事で使う必要があったのでメモ...。

ターミナルで次のコマンドを実行

zip -e 圧縮ファイル名.zip ファイル名

コマンド実行時にパスワード入力と確認入力を求められるので
パスワードを入力する。

ファインダーからターミナルに作業対象のディレクトリをドラッグすると
そのディレクトリでターミナルが開く。

1/24

Teru_Nanaoさんからコメント頂いたので追記。

ディレクトリごとの場合

zip -er 圧縮ファイル名.zip ディレクトリ名
8
9
2

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
8
9