We are aware of the issue with the badge emails resending to everyone, we apologise for the inconvenience - learn more here.

Forum Discussion

Douglas16's avatar
Douglas16
Explorer | Level 4
8 years ago

It's possible change the default folder of dropbox to another folder?

Hello guys,  I'd like to know if it's possible to change the dropbox default folder (~/Dropbox) to another folder? For exemple, change the folder ~/Dropbox for /mnt/another/path, understand?

 

PS: I NEED do this via command line.

 

Any help and tips are welcome.

Thanks in advanced!!

  • Rich's avatar
    Rich
    8 years ago
    Looking at a few other posts from Dropboxers in the past, there is no method to move the Dropbox folder from the command line.
  • Rich's avatar
    Rich
    Icon for Super User II rankSuper User II
    You can move the Dropbox folder to another location (though I don't know if it's possible via command line) but the folder itself will always be called Dropbox.
    • Douglas16's avatar
      Douglas16
      Explorer | Level 4

      Yeah, I found a way to do this via interface(https://www.dropbox.com/en/help/89), is easy, but as I said, I need do this via command line for the following reason: I should do this in another computer, in our local network, that I access via SSH protocol, I already installed the dropbox and logged in my dropbox account from this another computer via ssh protocol, but still missing make this little change.

       

      Well even so,thanks very much for your time!

       

      Any helps is welcome,folks!

      • cilynx's avatar
        cilynx
        New member | Level 2

        It's not a perfect solution, but you can stop the dropbox daemon, move the data folder, then symlink the data folder in its new location back to your home directory.  I used this setup to move my dropbox data folder to an external drive when it got bigger than the SSD in my desktop.

         

        dropbox stop
        mv ~/Dropbox /mnt/another/path/
        ln -s /mnt/another/path/Dropbox ~/
        dropbox start

        Just make sure your system is setup to mount the external drive before the dropbox daemon starts otherwise the daemon will get upset.  Fortunately (in my opinion) since ~/Dropbox will be a broken link if the external drive isn't there as opposed to an empty folder, the dropbox daemon will just complain and not do anything as opposed to trying to build a new replica on your system drive.

About Apps and Installations

Have a question about a Dropbox app or installation? Reach out to the Dropbox Community and get solutions, help, and advice from members.

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!