Reference
crab import
Import existing cloud buckets as a Crab repository.
Synopsis
crab import [OPTIONS] <BUCKET_URL>Description
crab import takes an existing cloud storage bucket with files and converts it
into a Crab repository — chunking, indexing, and creating the metadata
structures needed for Crab operations.
For conceptual background, see Importing Existing Buckets.
Arguments
| Argument | Required | Description |
|---|---|---|
BUCKET_URL | Yes | Cloud storage URL to import from |
Options
| Option | Default | Description |
|---|---|---|
--prefix | Only import objects under this prefix | |
--pattern | Glob pattern to filter imported files | |
--json | false | Emit structured JSON output |
Examples
Import an entire bucket
crab import s3://my-data-bucketImport a prefix
crab import --prefix models/ s3://my-data-bucket