Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想同步 S3 存储桶上的一些文件夹。我可以使用 AWS CLI 或使用 PHP SDK,但我想知道两种方法之间的优缺点是什么?任何性能差异?
谢谢你。
CLI 具有非常强大的aws s3 sync命令,可以很好地同步本地目录和 S3 存储桶。另一方面,通过 API 以编程方式设置特定的标头/元数据可能会更容易。
aws s3 sync