Controlling Smartsync from Python

Open
#141 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
go, python
Domain
cli, cloud

Research direction

Start by checking the dbxcli command surface and the Dropbox documentation for SmartSync controls, since the issue does not name an implementation file or test. Done would provide a documented way to identify files by size and mark them online or local from a script, if the underlying API supports it.

Written by the indexing model from the issue text.

Description

There was a question raised about this back in 2018 on StackOverflow here

The only respondent to that question was the mysterious Greg who said that he would "...pass this along as a feature request..."

As far as I can tell, this is still not possible. Maybe I'm wrong and just can't find it in the documentation.

Consider my use-case...

I am a photographer and I keep all my images in Dropbox. Source (original) images are typically ~30Mb each. However, when I post-process them in Photoshop, the resulting PSD file can be very large - potentially hundreds of megabytes.

What I'd like to do is programmatically navigate through my images folder(s), identify files that are larger than a certain amount (say, 50Mb) then mark those files as "online" whereas everything else could be "local".

I'm a very experienced Python programmer. The directory navigation and size identification is trivial.

Any thoughts on this?

Dominant language
Go
Stars
1.2k
Forks
108
Avg merge
1h 36m
Merged PRs (30d)
10

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from dropbox/dbxcli

All issues in dropbox/dbxcli

Similar issues

More Go issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.