标签: amazon-s3 tar
我正在寻找2件东西:
tar --according-to=.ignore . | aws s3 --bucket=whatever
基本上,我想压缩一个文件夹,但忽略.ignore文件中的内容,我想将其通过管道传输到s3而不是在磁盘上创建一个临时文件。有谁知道该怎么做这两件事?
我宁愿运行自己的tar命令,然后在此处使用aws s3忽略/排除技术:
https://docs.aws.amazon.com/cli/latest/reference/s3/index.html