Skip to content

Sync for cloud/local folders #134

Closed
Closed

Description

@pjbull

We don't currently support any sync API. Even with upload_to and download_from, we will never delete files.

I'm not sure that we need/want to do anything about this, but wanted to capture some thoughts as I considered it. There are two options that I could see being reasonable:

  • Explicitly document sync as a non-goal - Add to documentation and link to tools that sync cloud/local
  • Add a sync API - we can probably do this just with copytree + removing files that don't exist on the source. That said, I don't think we want to be a sync tool so we should document this is for convenience, not performance.

Activity

  1. added
    question
    on Mar 13, 2021
  2. analog-cbarber commented on Sep 1, 2021

    @analog-cbarber

    You definitely should add sync, otherwise you force users to have to get it from somewhere else. I am pretty sure that at least S3 and Azure both support it in their client API.

  3. ypicard commented on Jan 30, 2022

    @ypicard

    AWS S3 supports it with their CLI, but not with the boto3 SDK, which makes it a key feature that I would love to see happen in this library.

  4. pjbull commented on Dec 19, 2022

    @pjbull
    MemberAuthor

    Duplicate of #14. Consolidating.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    question

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions