Closed lpravda closed 5 months ago
My #88 is from the same motivation. We're kind of stuck between a rock and a hard place there
Hi @lpravda Thanks for the issue The issue is that we are trying to stay as close as possible to pathlib interface So users can have the same methods and for example in prod use S3Path and in tests use local Path Not pathlib don't have a copy method. thats way we didn't implement something in the library
How ever if we will see a lot of requests we can add it. It won’t help for s3 <-> local cases but for s3 to s3 it can help.
I personally less like this approach as long that pathlib won't do the same for local file systems.
Hi @liormizr, perhaps I have just missed it, but is there any way one can copy a file from the S3Path location to the S3Path location? I'm aware of S3Path.rename(), but this is not what I really want. As a workaround, I could think of
But that seems like a big overkill. I could directly use boto3, but I wondered if there is a direct support.
Thanks a lot!