You might see that the Dropbox Community team have been busy working on some major updates to the Community itself! So, here is some info on what’s changed, what’s staying the same and what you can expect from the Dropbox Community overall.

Forum Discussion

Zaidy036's avatar
Zaidy036
Explorer | Level 3
12 months ago

Control Dropbox Sync

 At the present time Dropbox does not have batch control commands to Pause and Restart sync so it does not influence other work. What would the effect be of using batch to change the name of a Dropbox folder to another empty folder so that temporarily there is nothing to sync. Would Dropbox then erase all of its existing synced files? Would it get confused and crash?

 

Something like following with C:\Users\<name>\DBx existing and empty or use Robocopy to move all contents to a temp location:

 

REN C:\Users\<name>\Dropbox  DB

REN C:\Users\<name>\DBx  Dropbox    

   <other batch commands>

REN C:\Users\<name>\Dropbox  DBx

REN C:\Users\<name>\DB  Dropbox    

 

Similar but maybe less disruptive is to have two sub folders within the Dropbox folder one Primary and one Empty and remove the primary so one is only syncing the empty one:

 

- F: is any temporary location:

 ROBOCOPY /E /MOVE C:\Users\<name>\Dropbox\Primary F:\Primary

   <other batch commands>

 ROBOCOPY /E /MOVE F:\Primary C:\Users\<name>\Dropbox\Primary

 

I do not have a test Windows PC to try either approach but any comments or perhaps someone can test and report back.

  • Walter's avatar
    Walter
    Icon for Dropbox Staff rankDropbox Staff

    Hey Zaidy036 - thanks for using Dropbox and posting on our Community. 

     

    I just wanted to clarify that if the Files are moved from the folder in Dropbox while the desktop app is running and syncing, then it will see the move as a deletion, so syncing would need to be paused manually.

     

    I'll leave this thread open for any user that might have something else to add.

    • Zaidy036's avatar
      Zaidy036
      Explorer | Level 3

      Thanks for the reply to my "wild dream" and I am glad I did not try it.

       

      I currently use PTFBpro to control DB sync in unattended batches and was looking for something faster and simpler. Sure wish they would add batch commands to start/stop sync.

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!