A command to get the sync status of a Dropbox file












7














I'm using Dropbox on Ubuntu. I'd like to detect the sync status of a file in my public directory (specifically: is it uploaded?) with a command / script. Is this possible?










share|improve this question



























    7














    I'm using Dropbox on Ubuntu. I'd like to detect the sync status of a file in my public directory (specifically: is it uploaded?) with a command / script. Is this possible?










    share|improve this question

























      7












      7








      7


      1





      I'm using Dropbox on Ubuntu. I'd like to detect the sync status of a file in my public directory (specifically: is it uploaded?) with a command / script. Is this possible?










      share|improve this question













      I'm using Dropbox on Ubuntu. I'd like to detect the sync status of a file in my public directory (specifically: is it uploaded?) with a command / script. Is this possible?







      linux dropbox






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Sep 4 '12 at 12:58









      Bart van Heukelom

      1,14852240




      1,14852240






















          2 Answers
          2






          active

          oldest

          votes


















          7














          Use filestatus:



          dropbox filestatus /path/to/file


          For more help see:



          dropbox help





          share|improve this answer





























            0














            To add to @Thor's answer, if the dropbox command is unavailable, you may need to install it. It can be downloaded from the dropbox website with:



            curl -Lo bin/dropbox.py 'https://www.dropbox.com/download?dl=packages/dropbox.py'
            chmod +x bin/dropbox.py


            where bin is some bin directory on your path, either in your home directory or perhaps /usr/local/bin which may require the commands be run with sudo or as root.



            The script may then be used like



            dropbox.py help
            dropbox.py filestatus /path/to/file


            This is referenced by Dropbox at https://www.dropbox.com/help/desktop-web/linux-commands and documented at The Unofficial Dropbox wiki: https://www.dropboxwiki.com/tips-and-tricks/using-the-official-dropbox-command-line-interface-cli.






            share|improve this answer





















              Your Answer








              StackExchange.ready(function() {
              var channelOptions = {
              tags: "".split(" "),
              id: "3"
              };
              initTagRenderer("".split(" "), "".split(" "), channelOptions);

              StackExchange.using("externalEditor", function() {
              // Have to fire editor after snippets, if snippets enabled
              if (StackExchange.settings.snippets.snippetsEnabled) {
              StackExchange.using("snippets", function() {
              createEditor();
              });
              }
              else {
              createEditor();
              }
              });

              function createEditor() {
              StackExchange.prepareEditor({
              heartbeatType: 'answer',
              autoActivateHeartbeat: false,
              convertImagesToLinks: true,
              noModals: true,
              showLowRepImageUploadWarning: true,
              reputationToPostImages: 10,
              bindNavPrevention: true,
              postfix: "",
              imageUploader: {
              brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
              contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
              allowUrls: true
              },
              onDemand: true,
              discardSelector: ".discard-answer"
              ,immediatelyShowMarkdownHelp:true
              });


              }
              });














              draft saved

              draft discarded


















              StackExchange.ready(
              function () {
              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f469928%2fa-command-to-get-the-sync-status-of-a-dropbox-file%23new-answer', 'question_page');
              }
              );

              Post as a guest















              Required, but never shown

























              2 Answers
              2






              active

              oldest

              votes








              2 Answers
              2






              active

              oldest

              votes









              active

              oldest

              votes






              active

              oldest

              votes









              7














              Use filestatus:



              dropbox filestatus /path/to/file


              For more help see:



              dropbox help





              share|improve this answer


























                7














                Use filestatus:



                dropbox filestatus /path/to/file


                For more help see:



                dropbox help





                share|improve this answer
























                  7












                  7








                  7






                  Use filestatus:



                  dropbox filestatus /path/to/file


                  For more help see:



                  dropbox help





                  share|improve this answer












                  Use filestatus:



                  dropbox filestatus /path/to/file


                  For more help see:



                  dropbox help






                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered Sep 4 '12 at 13:03









                  Thor

                  4,57312338




                  4,57312338

























                      0














                      To add to @Thor's answer, if the dropbox command is unavailable, you may need to install it. It can be downloaded from the dropbox website with:



                      curl -Lo bin/dropbox.py 'https://www.dropbox.com/download?dl=packages/dropbox.py'
                      chmod +x bin/dropbox.py


                      where bin is some bin directory on your path, either in your home directory or perhaps /usr/local/bin which may require the commands be run with sudo or as root.



                      The script may then be used like



                      dropbox.py help
                      dropbox.py filestatus /path/to/file


                      This is referenced by Dropbox at https://www.dropbox.com/help/desktop-web/linux-commands and documented at The Unofficial Dropbox wiki: https://www.dropboxwiki.com/tips-and-tricks/using-the-official-dropbox-command-line-interface-cli.






                      share|improve this answer


























                        0














                        To add to @Thor's answer, if the dropbox command is unavailable, you may need to install it. It can be downloaded from the dropbox website with:



                        curl -Lo bin/dropbox.py 'https://www.dropbox.com/download?dl=packages/dropbox.py'
                        chmod +x bin/dropbox.py


                        where bin is some bin directory on your path, either in your home directory or perhaps /usr/local/bin which may require the commands be run with sudo or as root.



                        The script may then be used like



                        dropbox.py help
                        dropbox.py filestatus /path/to/file


                        This is referenced by Dropbox at https://www.dropbox.com/help/desktop-web/linux-commands and documented at The Unofficial Dropbox wiki: https://www.dropboxwiki.com/tips-and-tricks/using-the-official-dropbox-command-line-interface-cli.






                        share|improve this answer
























                          0












                          0








                          0






                          To add to @Thor's answer, if the dropbox command is unavailable, you may need to install it. It can be downloaded from the dropbox website with:



                          curl -Lo bin/dropbox.py 'https://www.dropbox.com/download?dl=packages/dropbox.py'
                          chmod +x bin/dropbox.py


                          where bin is some bin directory on your path, either in your home directory or perhaps /usr/local/bin which may require the commands be run with sudo or as root.



                          The script may then be used like



                          dropbox.py help
                          dropbox.py filestatus /path/to/file


                          This is referenced by Dropbox at https://www.dropbox.com/help/desktop-web/linux-commands and documented at The Unofficial Dropbox wiki: https://www.dropboxwiki.com/tips-and-tricks/using-the-official-dropbox-command-line-interface-cli.






                          share|improve this answer












                          To add to @Thor's answer, if the dropbox command is unavailable, you may need to install it. It can be downloaded from the dropbox website with:



                          curl -Lo bin/dropbox.py 'https://www.dropbox.com/download?dl=packages/dropbox.py'
                          chmod +x bin/dropbox.py


                          where bin is some bin directory on your path, either in your home directory or perhaps /usr/local/bin which may require the commands be run with sudo or as root.



                          The script may then be used like



                          dropbox.py help
                          dropbox.py filestatus /path/to/file


                          This is referenced by Dropbox at https://www.dropbox.com/help/desktop-web/linux-commands and documented at The Unofficial Dropbox wiki: https://www.dropboxwiki.com/tips-and-tricks/using-the-official-dropbox-command-line-interface-cli.







                          share|improve this answer












                          share|improve this answer



                          share|improve this answer










                          answered Dec 9 at 7:10









                          bschlueter

                          1227




                          1227






























                              draft saved

                              draft discarded




















































                              Thanks for contributing an answer to Super User!


                              • Please be sure to answer the question. Provide details and share your research!

                              But avoid



                              • Asking for help, clarification, or responding to other answers.

                              • Making statements based on opinion; back them up with references or personal experience.


                              To learn more, see our tips on writing great answers.





                              Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


                              Please pay close attention to the following guidance:


                              • Please be sure to answer the question. Provide details and share your research!

                              But avoid



                              • Asking for help, clarification, or responding to other answers.

                              • Making statements based on opinion; back them up with references or personal experience.


                              To learn more, see our tips on writing great answers.




                              draft saved


                              draft discarded














                              StackExchange.ready(
                              function () {
                              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f469928%2fa-command-to-get-the-sync-status-of-a-dropbox-file%23new-answer', 'question_page');
                              }
                              );

                              Post as a guest















                              Required, but never shown





















































                              Required, but never shown














                              Required, but never shown












                              Required, but never shown







                              Required, but never shown

































                              Required, but never shown














                              Required, but never shown












                              Required, but never shown







                              Required, but never shown







                              Popular posts from this blog

                              Plaza Victoria

                              Puebla de Zaragoza

                              Musa