Take Your Search Game to the Next Level with Dropbox Dash  🚀✨ Curious how it works? Ask us here! 

Forum Discussion

sholt's avatar
sholt
Explorer | Level 3
7 years ago
Solved

Is there a way to script Smart Sync?

Hello, my users have requested the ability to have files automatically switch to cloud-only smart sync if they haven't opened them in X weeks. I've not been able to find guindance so far for terminal scripting such changes. I can see the properties with the command "ls -la@" , but am unsure how to manipulate them without interacting in the GUI.  

  • There is no command line interface for Smart Sync, and the Dropbox API has no support for managing Smart Sync settings. The only way to manage Smart SYnc is through the Dropbox GUI.

5 Replies

Replies have been turned off for this discussion
  • Rich's avatar
    Rich
    Icon for Super User II rankSuper User II
    7 years ago

    There is no command line interface for Smart Sync, and the Dropbox API has no support for managing Smart Sync settings. The only way to manage Smart SYnc is through the Dropbox GUI.

  • hawthorne's avatar
    hawthorne
    New member | Level 2
    6 years ago

    Hi ... checking to see if there is any new developments here?

    I have a similar requirement. A customer has ~20TB of images available to be purchased for printing ... but only wants those with open orders synced; which would be ~100GB.

    A FUGLY approach is to use AutoHotKeys (https://www.autohotkey.com/) to interact with the Dropbox GUI.

    Any advice appreciated,

    Charlie

  • Rich's avatar
    Rich
    Icon for Super User II rankSuper User II
    6 years ago

    Nothing has changed. There's no way to manage Smart Sync programatically.

  • dcuccia's avatar
    dcuccia
    Explorer | Level 4
    5 years ago
    This is something that would really be a game changer for us. If we could let assets expire after minutes of use, or at least explicitly set them to online only programmatically, it would enable a number of scenarios where an app could treat assets as local, even if the total folder size was too big for any one worker machine.

About Create, upload, and share

Find help to solve issues with creating, uploading, and sharing files and folders in Dropbox. Get support and advice from the Dropbox Community.

Need more support

If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X or Facebook.

For more info on available support options for your Dropbox plan, see this article.

If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!