{
  "slug": "hf-buckets-cp-copies-files-into-buckets-6651e642b6dc",
  "title": "hf buckets cp copies files into Buckets",
  "tools": [
    "hf"
  ],
  "tags": [
    "agent"
  ],
  "introduced_at": "2026-04-09T12:30:35.000Z",
  "announced_at": "2026-04-09T12:30:35.000Z",
  "effective_at": null,
  "date_basis": "source-publication",
  "status": "unknown",
  "how": {
    "incantation": "When copying repository or Bucket data into a Bucket, run `hf buckets cp` with the source and destination `hf://` paths. The documented examples use a trailing slash on folder paths to copy their contents.",
    "examples": [
      "hf buckets cp hf://buckets/<owner>/<source-bucket>/logs/ hf://buckets/<owner>/<destination-bucket>/logs/",
      "hf buckets cp hf://datasets/<owner>/<dataset>/data/train/ hf://buckets/<owner>/<bucket>/datasets/train/"
    ],
    "gotchas": [
      "Version: v1.10.0",
      "source (required): First path; for this task, a repository or Bucket path. A trailing `/` copies the folder contents without nesting the folder itself.",
      "destination (required): Second path; for this task, the destination Bucket path.",
      "Prerequisite: Have read access to the source repository or Bucket and write access to the destination Bucket.",
      "Prerequisite: Remote-to-remote copies require the source and destination to be in the same storage region.",
      "Copying from a Bucket to a Repository is not yet supported.",
      "Xet-tracked files copy directly by hash; small text files not tracked with Xet are automatically downloaded and re-uploaded."
    ]
  },
  "why_it_matters": "Copy a repository or Bucket data into a Bucket without downloading and re-uploading it.",
  "sources": [
    "https://github.com/huggingface/huggingface_hub/releases/tag/v1.10.0",
    "https://huggingface.co/docs/huggingface_hub/guides/buckets",
    "https://huggingface.co/docs/hub/storage-buckets"
  ],
  "rank": 0.99044,
  "judge": {
    "publish": true,
    "judge_model": "codex-cli/gpt-6-luna+typesafe/jev-1.13.0",
    "prompt_version": "extract-v7+enrich-v2+judge-v2x3+jev-publish-v1"
  },
  "review_state": "approved",
  "provenance": {
    "run_id": "wave2b-20261017",
    "verdict_id": "wave2b-20261017:wave2b-20261017-dc7d46a7622081a5-0:gate",
    "evidence_hash": "f0f2360f18c0ad3662881ffeb4d75dc3b97978aceef5ec2c56207085891a5767"
  },
  "review": {
    "draft_hash": "f67220e7e769ed6e6ea5f9efc79c452e8602806bec73045ee227ef03a6e38862",
    "reviewer": "publication-gate",
    "reviewed_at": "2026-10-07T00:00:00.000Z",
    "decision": "wave2b-20261017:gate",
    "reason": "3 of 3 judge runs approved with p_yes >= 0.9 (mean 0.99 >= 0.9; 2 needed) and Jev gave 0.76 (>= 0.6 needed)."
  }
}
