【问题标题】:Copying files with certain title or a title with the keyword 'log' from an S3 bucket to a folder in another bucket将具有特定标题或具有关键字“日志”的标题的文件从 S3 存储桶复制到另一个存储桶中的文件夹
【发布时间】:2020-12-09 17:27:03
【问题描述】:

我正在尝试复制标题中包含关键字“日志”的 pdf 文件。我有下面的命令。我错过了什么?

aws s3api 复制对象 --copy-source --key 'Log' --bucket

【问题讨论】:

    标签: amazon-s3 copy


    【解决方案1】:

    终于设法改变了周围的事物并最终得到了有效的结果。

    aws s3 cp s3://source-bucket/ s3://destination-bucket/ --recursive --exclude "*" --include "log"

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2019-11-07
      • 1970-01-01
      • 1970-01-01
      • 2020-07-05
      • 1970-01-01
      • 2016-02-10
      • 2017-11-23
      • 1970-01-01
      相关资源
      最近更新 更多