vendredi 1 mai 2015

How can I sync two s3 buckets with regex?

I have s3 bucket with many files (1m+).

I'd like to move these files to another one, but this time I want to have a bit more structure.

Is it possible to do something like:

s3cmd sync s3://bucket1/foo2011-01-01* s3//bucket2/archive/events/2011-01-01/

s3cmd sync s3://bucket1/foo2011-01-02* s3//bucket2/archive/events/2011-01-02/




Aucun commentaire:

Enregistrer un commentaire