drivendataorg / drivendataorg/cloudpathlib
Add a `sync_folder` method
- Dominant language
- Python
- Stars
- 628
- Forks
- 88
- Avg merge
- 17h 28m
- Merged PRs (30d)
- 2
Description
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:
```python
# 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)
```
Contributor guide
Assessment
This issue has not been assessed yet.