0chain / s3-migration

This program helps to migrate files in s3/s3-compatible buckets to 0chain dStorage.
MIT License
0 stars 1 forks source link

s3 migration duplicate suffix is not working properly #74

Closed shalinikum closed 1 year ago

shalinikum commented 1 year ago

suppose --dup-suffix = "_copy" we have a bucket called dummy_bucket and in that bucket we have abc.txt. with skip=2 in first attempt it should migrate as abc.txt but in second attempt it should be abc_copy.txt.

But right now I am seeing in second attempt the file name is abccopt.txt

either fix the ./s3mgrt migrate --help output or fix above isssue.

boddumanohar commented 1 year ago

fixed by: https://github.com/0chain/s3-migration/pull/77