Can Dropbox under OS X be accessed from a command line?











up vote
3
down vote

favorite
1












I want to access Dropbox in my Mac from a remote location with ssh. Is there any way to access Dropbox from the OS X command line?










share|improve this question
























  • What's preventing you from just going to the Dropbox folder on your Mac?
    – slhck
    Apr 22 '15 at 6:23










  • Are you on OS X and want to access a Dropbox folder on a remote machine? Are you on OS X and want to access a Dropbox folder locally via command line? Do you want to access a Dropbox folder on OS X from a remote machine? Your question isn't clear
    – Brian Kintz
    Apr 22 '15 at 6:24










  • If you have Dropbox installed, it behaves like a normal folder so just a cd ~/Dropbox (if using the default) would work.
    – onik
    Apr 22 '15 at 6:25










  • @BrianKintz I want to acess my Dropbox remotely. So i want to know is there a way to have commandline access to Dropbox
    – Lalitha Syamaleswari ch
    Apr 22 '15 at 7:18










  • Have you tried just entering dropbox in command-line?
    – redbeam_
    Apr 22 '15 at 7:57















up vote
3
down vote

favorite
1












I want to access Dropbox in my Mac from a remote location with ssh. Is there any way to access Dropbox from the OS X command line?










share|improve this question
























  • What's preventing you from just going to the Dropbox folder on your Mac?
    – slhck
    Apr 22 '15 at 6:23










  • Are you on OS X and want to access a Dropbox folder on a remote machine? Are you on OS X and want to access a Dropbox folder locally via command line? Do you want to access a Dropbox folder on OS X from a remote machine? Your question isn't clear
    – Brian Kintz
    Apr 22 '15 at 6:24










  • If you have Dropbox installed, it behaves like a normal folder so just a cd ~/Dropbox (if using the default) would work.
    – onik
    Apr 22 '15 at 6:25










  • @BrianKintz I want to acess my Dropbox remotely. So i want to know is there a way to have commandline access to Dropbox
    – Lalitha Syamaleswari ch
    Apr 22 '15 at 7:18










  • Have you tried just entering dropbox in command-line?
    – redbeam_
    Apr 22 '15 at 7:57













up vote
3
down vote

favorite
1









up vote
3
down vote

favorite
1






1





I want to access Dropbox in my Mac from a remote location with ssh. Is there any way to access Dropbox from the OS X command line?










share|improve this question















I want to access Dropbox in my Mac from a remote location with ssh. Is there any way to access Dropbox from the OS X command line?







macos command-line dropbox






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Apr 22 '15 at 6:51









onik

655619




655619










asked Apr 22 '15 at 5:10









Lalitha Syamaleswari ch

14510




14510












  • What's preventing you from just going to the Dropbox folder on your Mac?
    – slhck
    Apr 22 '15 at 6:23










  • Are you on OS X and want to access a Dropbox folder on a remote machine? Are you on OS X and want to access a Dropbox folder locally via command line? Do you want to access a Dropbox folder on OS X from a remote machine? Your question isn't clear
    – Brian Kintz
    Apr 22 '15 at 6:24










  • If you have Dropbox installed, it behaves like a normal folder so just a cd ~/Dropbox (if using the default) would work.
    – onik
    Apr 22 '15 at 6:25










  • @BrianKintz I want to acess my Dropbox remotely. So i want to know is there a way to have commandline access to Dropbox
    – Lalitha Syamaleswari ch
    Apr 22 '15 at 7:18










  • Have you tried just entering dropbox in command-line?
    – redbeam_
    Apr 22 '15 at 7:57


















  • What's preventing you from just going to the Dropbox folder on your Mac?
    – slhck
    Apr 22 '15 at 6:23










  • Are you on OS X and want to access a Dropbox folder on a remote machine? Are you on OS X and want to access a Dropbox folder locally via command line? Do you want to access a Dropbox folder on OS X from a remote machine? Your question isn't clear
    – Brian Kintz
    Apr 22 '15 at 6:24










  • If you have Dropbox installed, it behaves like a normal folder so just a cd ~/Dropbox (if using the default) would work.
    – onik
    Apr 22 '15 at 6:25










  • @BrianKintz I want to acess my Dropbox remotely. So i want to know is there a way to have commandline access to Dropbox
    – Lalitha Syamaleswari ch
    Apr 22 '15 at 7:18










  • Have you tried just entering dropbox in command-line?
    – redbeam_
    Apr 22 '15 at 7:57
















What's preventing you from just going to the Dropbox folder on your Mac?
– slhck
Apr 22 '15 at 6:23




What's preventing you from just going to the Dropbox folder on your Mac?
– slhck
Apr 22 '15 at 6:23












Are you on OS X and want to access a Dropbox folder on a remote machine? Are you on OS X and want to access a Dropbox folder locally via command line? Do you want to access a Dropbox folder on OS X from a remote machine? Your question isn't clear
– Brian Kintz
Apr 22 '15 at 6:24




Are you on OS X and want to access a Dropbox folder on a remote machine? Are you on OS X and want to access a Dropbox folder locally via command line? Do you want to access a Dropbox folder on OS X from a remote machine? Your question isn't clear
– Brian Kintz
Apr 22 '15 at 6:24












If you have Dropbox installed, it behaves like a normal folder so just a cd ~/Dropbox (if using the default) would work.
– onik
Apr 22 '15 at 6:25




If you have Dropbox installed, it behaves like a normal folder so just a cd ~/Dropbox (if using the default) would work.
– onik
Apr 22 '15 at 6:25












@BrianKintz I want to acess my Dropbox remotely. So i want to know is there a way to have commandline access to Dropbox
– Lalitha Syamaleswari ch
Apr 22 '15 at 7:18




@BrianKintz I want to acess my Dropbox remotely. So i want to know is there a way to have commandline access to Dropbox
– Lalitha Syamaleswari ch
Apr 22 '15 at 7:18












Have you tried just entering dropbox in command-line?
– redbeam_
Apr 22 '15 at 7:57




Have you tried just entering dropbox in command-line?
– redbeam_
Apr 22 '15 at 7:57










2 Answers
2






active

oldest

votes

















up vote
1
down vote



accepted










Just accessing cd /Users/$home-user/Dropbox solved my question






share|improve this answer




























    up vote
    1
    down vote













    If you have both a company and personal dropbox it can be more complicated because both the space and the parens need to be escaped or quoted. In this case your cd looks more like:



    cd /Users/$home-user/Dropbox (Company Name)/


    or



    cd "/Users/$home-user/Dropbox (Company Name)/"





    share|improve this answer










    New contributor




    Gregory Cosmo Haun is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.














    • 1




      It's simpler to put the whole thing in quotes.
      – Scott
      Nov 15 at 2:58










    • Good point, answer updated, thanks.
      – Gregory Cosmo Haun
      Nov 15 at 23:24











    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',
    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%2f904503%2fcan-dropbox-under-os-x-be-accessed-from-a-command-line%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








    up vote
    1
    down vote



    accepted










    Just accessing cd /Users/$home-user/Dropbox solved my question






    share|improve this answer

























      up vote
      1
      down vote



      accepted










      Just accessing cd /Users/$home-user/Dropbox solved my question






      share|improve this answer























        up vote
        1
        down vote



        accepted







        up vote
        1
        down vote



        accepted






        Just accessing cd /Users/$home-user/Dropbox solved my question






        share|improve this answer












        Just accessing cd /Users/$home-user/Dropbox solved my question







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered May 18 '15 at 9:23









        Lalitha Syamaleswari ch

        14510




        14510
























            up vote
            1
            down vote













            If you have both a company and personal dropbox it can be more complicated because both the space and the parens need to be escaped or quoted. In this case your cd looks more like:



            cd /Users/$home-user/Dropbox (Company Name)/


            or



            cd "/Users/$home-user/Dropbox (Company Name)/"





            share|improve this answer










            New contributor




            Gregory Cosmo Haun is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
            Check out our Code of Conduct.














            • 1




              It's simpler to put the whole thing in quotes.
              – Scott
              Nov 15 at 2:58










            • Good point, answer updated, thanks.
              – Gregory Cosmo Haun
              Nov 15 at 23:24















            up vote
            1
            down vote













            If you have both a company and personal dropbox it can be more complicated because both the space and the parens need to be escaped or quoted. In this case your cd looks more like:



            cd /Users/$home-user/Dropbox (Company Name)/


            or



            cd "/Users/$home-user/Dropbox (Company Name)/"





            share|improve this answer










            New contributor




            Gregory Cosmo Haun is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
            Check out our Code of Conduct.














            • 1




              It's simpler to put the whole thing in quotes.
              – Scott
              Nov 15 at 2:58










            • Good point, answer updated, thanks.
              – Gregory Cosmo Haun
              Nov 15 at 23:24













            up vote
            1
            down vote










            up vote
            1
            down vote









            If you have both a company and personal dropbox it can be more complicated because both the space and the parens need to be escaped or quoted. In this case your cd looks more like:



            cd /Users/$home-user/Dropbox (Company Name)/


            or



            cd "/Users/$home-user/Dropbox (Company Name)/"





            share|improve this answer










            New contributor




            Gregory Cosmo Haun is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
            Check out our Code of Conduct.









            If you have both a company and personal dropbox it can be more complicated because both the space and the parens need to be escaped or quoted. In this case your cd looks more like:



            cd /Users/$home-user/Dropbox (Company Name)/


            or



            cd "/Users/$home-user/Dropbox (Company Name)/"






            share|improve this answer










            New contributor




            Gregory Cosmo Haun is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
            Check out our Code of Conduct.









            share|improve this answer



            share|improve this answer








            edited Nov 15 at 23:23





















            New contributor




            Gregory Cosmo Haun is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
            Check out our Code of Conduct.









            answered Nov 15 at 2:44









            Gregory Cosmo Haun

            1113




            1113




            New contributor




            Gregory Cosmo Haun is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
            Check out our Code of Conduct.





            New contributor





            Gregory Cosmo Haun is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
            Check out our Code of Conduct.






            Gregory Cosmo Haun is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
            Check out our Code of Conduct.








            • 1




              It's simpler to put the whole thing in quotes.
              – Scott
              Nov 15 at 2:58










            • Good point, answer updated, thanks.
              – Gregory Cosmo Haun
              Nov 15 at 23:24














            • 1




              It's simpler to put the whole thing in quotes.
              – Scott
              Nov 15 at 2:58










            • Good point, answer updated, thanks.
              – Gregory Cosmo Haun
              Nov 15 at 23:24








            1




            1




            It's simpler to put the whole thing in quotes.
            – Scott
            Nov 15 at 2:58




            It's simpler to put the whole thing in quotes.
            – Scott
            Nov 15 at 2:58












            Good point, answer updated, thanks.
            – Gregory Cosmo Haun
            Nov 15 at 23:24




            Good point, answer updated, thanks.
            – Gregory Cosmo Haun
            Nov 15 at 23:24


















             

            draft saved


            draft discarded



















































             


            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f904503%2fcan-dropbox-under-os-x-be-accessed-from-a-command-line%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