{
  "slug": "aws-s3-copy-operations-add-all-option-to-copy-props-1f8f2d44fe7c",
  "title": "aws s3 copy operations add all option to --copy-props",
  "tools": [
    "aws-cli"
  ],
  "tags": [
    "agent"
  ],
  "introduced_at": "2026-06-16T18:24:23.000Z",
  "announced_at": "2026-06-16T18:24:23.000Z",
  "effective_at": null,
  "date_basis": "source-publication",
  "status": "unknown",
  "how": {
    "incantation": "For S3-to-S3 copies with `cp`, `mv`, or `sync`, set `--copy-props all` to copy annotations, tags, and the metadata properties covered by `default`.",
    "examples": [
      "aws s3 cp s3://<source-bucket>/<source-key> s3://<destination-bucket>/<destination-key> --copy-props all",
      "aws s3 mv s3://<source-bucket>/<source-key> s3://<destination-bucket>/<destination-key> --copy-props all",
      "aws s3 sync s3://<source-bucket>/<source-prefix>/ s3://<destination-bucket>/<destination-prefix>/ --copy-props all"
    ],
    "gotchas": [
      "Version: 2.35.6",
      "--copy-props all: `--copy-props` applies only to S3-to-S3 copies. `all` copies annotations plus tags and properties covered by `default` (content type, content language, content encoding, content disposition, cache control, expires, and metadata). Set it for the requested preservation.",
      "--metadata-directive: If set, disables `--copy-props`; do not set it when relying on `--copy-props all`.",
      "Prerequisite: AWS CLI must be installed and configured to use the documented examples.",
      "Prerequisite: For multipart copies, `all` may make additional `HeadObject`, `GetObjectTagging`, `PutObjectTagging`, `ListObjectAnnotations`, `GetObjectAnnotation`, and `PutObjectAnnotation` API calls.",
      "The `all` option applies to S3 to S3 copy operations."
    ]
  },
  "why_it_matters": "When copying S3 objects with the AWS CLI, preserve their annotations, metadata, and tags.",
  "sources": [
    "https://github.com/aws/aws-cli/blob/2.35.6/CHANGELOG.rst",
    "https://docs.aws.amazon.com/cli/latest/reference/s3/cp.html",
    "https://docs.aws.amazon.com/cli/latest/reference/s3/mv.html",
    "https://docs.aws.amazon.com/cli/latest/reference/s3/sync.html"
  ],
  "rank": 0.96045,
  "judge": {
    "publish": true,
    "judge_model": "codex-cli/gpt-6-luna+typesafe/jev-1.13.0",
    "prompt_version": "extract-v7+enrich-v1+judge-v2x3+jev-publish-v1"
  },
  "review_state": "approved",
  "provenance": {
    "run_id": "cloud-20261008",
    "verdict_id": "cloud-20261008:cloud-20261008-3d1171956871d0a6-0:gate",
    "evidence_hash": "d8243f99729ed7ed82cc9dbc0bad6cc615a1dfe3bfe232508299a9b9e0ce823f"
  },
  "review": {
    "draft_hash": "e9c1c86ac26949b7dba7dff9fabd658987bbf2bc6bbd31ac2682a6093c0f8f0b",
    "reviewer": "publication-gate",
    "reviewed_at": "2026-10-07T00:00:00.000Z",
    "decision": "cloud-20261008:gate",
    "reason": "3 of 3 judge runs approved with p_yes >= 0.9 (mean 0.96 >= 0.9; 2 needed) and Jev gave 0.74 (>= 0.6 needed)."
  }
}
