日々精進

新しく学んだことを書き留めていきます

コマンドプロンプトからzip圧縮を行う

power shellのコマンドを使うとzip圧縮できる。

note.kiriukun.com

でもコマンドプロンプトからやりたかったのでコマンドプロンプトでpower shellのコマンドを実行する方法と合わせて実現した。

www.ipentec.com

以下のコマンドを実行するとzipにできた。

powershell -Command "Compress-Archive -Path dist/my_lib -DestinationPath dist/my_lib.zip"