[S3tools-general] Recursive copy/move patch

Hi Everybody,
I was very glad you had included the copy method in the latest releases,
but needed recursive copy for a project.
A patch to support recursive copy has been included in this mail.
I have only testet it with copy, but should work fine with move to.
Please write if you have any questions.
Regards,
Bo Stendal Sørensen / bss

Thread view

Hi Everybody,
I was very glad you had included the copy method in the latest releases,
but needed recursive copy for a project.
A patch to support recursive copy has been included in this mail.
I have only testet it with copy, but should work fine with move to.
Please write if you have any questions.
Regards,
Bo Stendal Sørensen / bss

Hi all,
s3cmd from SVN now supports --recursive for [cp] and [mv] and as well
all the other features like copying from multiple sources to a single
destination, --dry-run, --exclude / --include, etc.
It now also copies the original object's metadata like MIME-Type or any
other custom headers, including those added by --add-header (useful for
Cache control headers). The only thing that is *not* copied is ACL - the
copy is always created with private ACL unless you --acl-public has also
been used with cp/mv. That's a feature of S3, not an incapacity of s3cmd.
Credits to Bo for the original patch (although not much has been left
from it in the final commit ;-).
I'm sorry for such a terribly long waiting for this feature.
Michal

Hi Bo,
thanks a lot for the patch, it looks good at the first sight. I'll give
it some testing soon.
Michal
Bo Stendal Sørensen wrote:
> Hi Everybody,
>
> I was very glad you had included the copy method in the latest releases,
> but needed recursive copy for a project.
>
> A patch to support recursive copy has been included in this mail.
>
> I have only testet it with copy, but should work fine with move to.
>
> Please write if you have any questions.
>
> Regards,
> Bo Stendal Sørensen / bss
>