diff --git a/README.md b/README.md index 57bd03519..f57a98a2f 100644 --- a/README.md +++ b/README.md @@ -454,6 +454,14 @@ cp s3://bucket/prefix/index.html index.html cp s3://bucket/prefix/test.html test.html ``` +We don't support syncing between 2 storage endpoints out of the box. The current solution is to sync remote objects to your local disk first, then sync your local files to the target remote storage. For example, if you'd like to sync S3 and Google Cloud Storage: + +``` +s5cmd sync 's3://s3-bucket/path/*' download_folder/ + +s5cmd --endpoint-url sync 'download_folder/*' s3://gcs-bucket/path/ +``` + ##### Strategy ###### Default By default `s5cmd` compares files' both size **and** modification times, treating source files as **source of truth**. Any difference in size or modification time would cause `s5cmd` to copy source object to destination.