LoginSignup
1
2

More than 5 years have passed since last update.

tarでディレクトリを圧縮しS3に置くワンライナー

Posted at
$ tar zcf - dist | aws s3 cp - s3://example/dist.tgz

tarおよびaws s3 cpコマンドは-での標準出力/標準入力を受け付けるので、
ビルドしたディレクトリを、固めてS3に保存。という用途で力を発揮します。

1
2
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
2