Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a sync_folder method #14

Open
pjbull opened this issue Aug 17, 2020 · 2 comments
Open

Add a sync_folder method #14

pjbull opened this issue Aug 17, 2020 · 2 comments
Labels
enhancement New feature or request

Comments

@pjbull
Copy link
Member

pjbull commented Aug 17, 2020

We currently think it is a non-goal to manage folder syncing behind the scenes, but we might want to explicitly support it as a method.

For example, something like:

# I have a local folder that has many changes in it, including file deletions
local_changes = "/work_in_progress"

# copies cloud versions down to disk, but skips dl'ing where possible; deletes extra files locally
S3Path("s3://bucket/project_storage").sync_down(local_changes)

# copies local versions up to cloud, but skips ul'ing where possible; deletes extra files on the cloud
S3Path("s3://bucket/project_storage").sync_up(local_changes)
@pjbull pjbull added the enhancement New feature or request label Oct 2, 2020
@ypicard
Copy link

ypicard commented Jan 30, 2022

This is the last missing piece that will make me migrate to this library. I would really appreciate this being a thing indeed.

@pjbull
Copy link
Member Author

pjbull commented Dec 19, 2022

Additional discussion in #134.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants