EMCECS / ecs-sync

ecs-sync is a bulk copy utility that can move data between various systems in parallel
Apache License 2.0
60 stars 22 forks source link

Is there any way to copy files from source to target skipping the source folder sync only files? #105

Closed akashcse closed 8 months ago

xiaoxin-ren commented 8 months ago

Assuming the ask is to sync to ECS S3 target, you can leverage <preserveDirectories>false</preserveDirectories>. Please refer to the description for this option "By default, directories are stored in S3 as empty objects to preserve empty dirs and metadata from the source. Turn this off to avoid copying directories. Note that if this is turned off, verification may fail for all directory objects"

akashcse commented 8 months ago

@xiaoxin-ren My scenario sync ECS S3 to ECS S3.

false need to add on source or target configuration ?
xiaoxin-ren commented 8 months ago

It's for target.