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

jega's avatar
jega
Helpful | Level 6
6 years ago

How to stop syncing using a script?

I know how to stop syncing manually, but I need to do it automatically before the backup start automatically in the night. Any idea how to start / stop syncing by a command in the .bat file?

  • Jane's avatar
    Jane
    Icon for Dropbox Staff rankDropbox Staff
    Hey jega, I understand that you’d like to automate this process, however this inquiry pertains to setting other parameters, independently from Dropbox, so I’ll just leave this question open to our Community of users; maybe someone could offer their insight on how you’d best go about on this request. 
     
    Thanks again for taking the time to drop us a line on the Community & have a wonderful day ahead!
    • jega's avatar
      jega
      Helpful | Level 6

      No, I simply need to stop syncing without fiddling manually with icon in tray. It may be just stopping syncing or (worse) stopping Dropbox (application), so after issuing such a command I should be sure, that Dropbox would not change the files until I start it again i.e. during the backup process.

      Most applications can be started and stopped from command line, probably Dropbox too.

      • rwdk's avatar
        rwdk
        New member | Level 2

        Use the Windows taskkill command.

        TASKKILL /F /IM dropbox.exe /T

        (For more info start command prompt and type taskkill /?)

         

About Integrations

Find solutions to issues with third-party integrations from the Dropbox Community. Share advice and help members with their integration questions.

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!