Skip to content

buckets: document CopyFile operation for storage buckets#2375

Open
mishig25 wants to merge 2 commits intomainfrom
docs/bucket-copyfile-operation
Open

buckets: document CopyFile operation for storage buckets#2375
mishig25 wants to merge 2 commits intomainfrom
docs/bucket-copyfile-operation

Conversation

@mishig25
Copy link
Copy Markdown
Collaborator

@mishig25 mishig25 commented Apr 12, 2026

Summary

  • Document the copy files operation for storage buckets
  • Show CLI (hf buckets cp) and Python (api.copy_files) usage
  • Note that only Xet-tracked files can be copied server-side
  • Update the "Data processing pipelines" use case to reference the new copy capability

🤖 Generated with Claude Code


Note

Low Risk
Low risk documentation-only change that adds guidance for hf buckets cp/HfApi.copy_files and updates a use-case reference; no runtime or API behavior is modified.

Overview
Adds documentation for server-side copying of Xet-tracked files from Hub repos or other buckets into a destination bucket, including CLI (hf buckets cp) and Python (HfApi.copy_files) examples and a note about non-Xet files being re-uploaded.

Updates the Data processing pipelines section to reference this new copy capability instead of stating it’s unavailable.

Reviewed by Cursor Bugbot for commit 123b0f0. Bugbot is set up for automated code reviews on this repo. Configure here.

@HuggingFaceDocBuilderDev
Copy link
Copy Markdown

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

@mishig25 mishig25 changed the title docs: document CopyFile operation for storage buckets buckets: document CopyFile operation for storage buckets Apr 12, 2026
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@mishig25 mishig25 force-pushed the docs/bucket-copyfile-operation branch from 649ff55 to 1e0ec73 Compare April 12, 2026 20:20
Co-authored-by: Pedro Cuenca <pedro@huggingface.co>
@mishig25 mishig25 requested a review from Wauplin April 13, 2026 08:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants