sincecutoff.com
← all changes

hf buckets CLI accepts browser URLs

Introduced 2026-06-11 · score 0.96

HOW TO USE IT

When listing files from a bucket browser URL, pass the URL as the argument to `hf buckets ls`.

hf buckets ls https://huggingface.co/buckets/commoncrawl/commoncrawl

WHY THIS HELPS

List a bucket from its browser URL while working with repository data.

BEFORE THIS CHANGE

The release note says the command previously rejected browser URLs with an invalid bucket path error; use a supported bucket path form such as namespace/name or hf://buckets/namespace/name.

REQUIREMENTS AND LIMITATIONS

  • Version: v1.19.0
  • ARGUMENT (required): Namespace to list buckets, or bucket ID to list files; v1.19.0 release notes document a Hugging Face bucket browser URL as accepted input.
  • -h, --human-readable: Show sizes in human-readable format.
  • --tree: List files in tree format; only for file listings.
  • -R, --recursive: List files recursively; only for file listings.
  • --search TEXT: Search query.
  • --token TEXT: User access token.
  • Non-URL path behavior is unchanged.

FIRST-PARTY EVIDENCE

Check the installed version and the source before using it. Entry JSON

Report a problem with this card