Performing a Bulk Download

On Compute Cloud@Customer, you can download objects in bulk.

Using the CLI

Use the oci os object copy command and required parameters to perform a bulk download.

oci os object bulk-download 
--namespace-name <object_storage_namespace>
--bucket-name <bucket_name> 
--download-dir <download_directory_location> [OPTIONS]

The download directory (<download_directory_location>) is the destination path for the objects being downloaded, such as C:\workspace\Downloads\ or /home/user/Documents/Downloads/. If the directory does not exist, Object Storage creates the directory when the command runs.

Example:

oci os object bulk-download    \
--namespace-name examplenamespace  \
--bucket-name MyBucket   \
--download-dir c:\workspace\Downloads

Downloaded MyFile.txt [####################################] 100%
Downloaded logFile.log [####################################] 100%

{
  "download-failures": {},
  "skipped-objects": []
}

For a complete list of CLI commands, flags, and options, see the Command Line Reference.