aws s3 CLI,无法复制整个目录结构

aws s3 CLI, unable to copy entire directory structure

我的目录结构如下

first/
      second/
             file.txt

如果我这样做 aws s3 cp first s3://bucket-name --recursive 在 s3 中复制的文件具有路径 bucket-name/second/file.txt 而不是 bucket-name/first/second/file.txt

为什么它的行为不像 Linux 上的 cp 命令,我怎样才能实现后者?
提前致谢

使用:

aws s3 cp first s3://bucket-name/first/ --recursive

这模仿正常的 Linux 行为,例如:

cp -R first third

两者都会导致 first 的内容被放入目标目录。这两个命令都不会创建 first 目录。