Guides

×
×
Home > S3 Developer Guide > Operations > Sync

Sync

jQuery(document).attr(“title”, “Welcome to Sterling Kilgore | Results Beyond Words”);

This section demonstrates how to sync local objects recursively with a bucket and vice-versa. The following is an example for IDrive Cloud’s Oregon (us-west-1) region.

You must configure AWS CLI before performing the following operations.


The following command syncs objects within mylocalfolder with bucket mybucket by uploading the local files to IDrive Cloud storage.


aws s3 sync mylocalfolder s3://mybucket

The following command syncs mybucket with mybucket2 by copying the files from mybucket to mybucket2.


aws s3 sync s3://mybucket s3://mybucket2

The following command syncs objects of bucket mybucket within the cloud storage with a local folder by downloading the objects to the local machine.


aws s3 sync s3://mybucket mylocalfolder
© 2020 IDrive Inc.