dropbox / dropbox/dbxcli

Add sync command

Open
#53 11 comments 15 reactions 0 assignees View on GitHub
enhancement
Dominant language
Go
Stars
1.2k
Forks
108
Avg merge
1h 36m
Merged PRs (30d)
10

Description

## Usecase

I'm automatically downloading files on a headless Linux server for one of our team having near to no technical knowledge from a SFTP host and providing those files (filtered) to that team in a Dropbox folder.
## Current way to use `dbxcli`
- Use `find` to list all files
- For each file execute `dbxcli put ${file} ${target}`

This has multiple disadvantages:
- DNS blocking using `block-api.g1.dropbox.com`
- Requests for files not required to sync
## Expected solution
- Call `dbxcli sync ${source_folder} ${target_folder}`

Advantages:
- Files are synced when required but not every time
- Fewer DNS requests / connections to establish
- More efficient sync (better for local system / better for Dropbox servers)
- Sync can be executed parallel instead of sequentially saving even more time

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.