Skip to Content

pelican object get

Get a file from a Pelican federation

pelican object get {source ...} {destination} [flags]

Options

--async Run the transfer asynchronously through the client API server and return a job ID -c, --cache string A comma-separated list of preferred caches to try for the transfer, where a "+" in the list indicates the client should fallback to discovered caches if all preferred caches fail. --caches string A JSON file containing the list of caches --direct Download directly from an origin, bypassing any caches (same as '?directread' query) --dry-run Show what would be downloaded without actually downloading -h, --help help for get --inplace Write files directly to destination (default: use temporary files) --pack string Package transfer using remote packing functionality (same as '?pack=' query). Options: auto, tar, tar.gz, tar.xz, zip. Default: auto when flag is provided without an explicit value -r, --recursive Recursively download a collection. Forces methods to only be http to get the freshest collection contents -t, --token string Token file to use for transfer --transfer-stats string A path to a file to write transfer statistics to --wait When used with --async, wait for the job to complete before returning

Options inherited from parent commands

--config string config file (default is $HOME/.config/pelican/pelican.yaml) -d, --debug Enable debug log messages -f, --federation string Pelican federation to utilize --json output results in JSON format -L, --log string Specified log output file --version Print the version and exit

SEE ALSO