Skip to content

Commit 612480d

Browse files
authored
Merge branch 'master' into update-go-version-1017
2 parents f8917e1 + 6bc84f9 commit 612480d

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

README.md

+8
Original file line numberDiff line numberDiff line change
@@ -454,6 +454,14 @@ cp s3://bucket/prefix/index.html index.html
454454
cp s3://bucket/prefix/test.html test.html
455455
```
456456
457+
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:
458+
459+
```
460+
s5cmd sync 's3://s3-bucket/path/*' download_folder/
461+
462+
s5cmd --endpoint-url <gcs-endpoint> sync 'download_folder/*' s3://gcs-bucket/path/
463+
```
464+
457465
##### Strategy
458466
###### Default
459467
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.

0 commit comments

Comments
 (0)