cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Want to know all about tools for creatives that work seamlessly with Dropbox, like Adobe? Well, check it out right here!

Dropbox installs & integrations

Connect your tools and content together with help from the Dropbox Community. Join a discussion or post a question of your own to get started.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Moving dropbox data directory via cli

Moving dropbox data directory via cli

pharpe
Explorer | Level 4

I posted this question a year ago and it was marketed as resolved (There was no actual resolution).  Then my follow up questions were igonored.  Trying again to see if dropbox got this figured out before I cancel.

I have Dropbox cli installed on a Ubuntu 18.04 server.  I used this guide.

https://www.ostechnix.com/install-dropbox-in-ubuntu-18-04-lts-server/

My issues is it is using ~/Dropbox dirctory on my system drive for the dropbox folder.  I want to move that to my data drive.  All of the guides for moving this refer to the GUI version.  I have seen people suggest sym links but your guide advises aginst that.  I just want to point dropbox from ~/Dropbox to /mnt/data/Dropbox. 

3 Replies 3

Re: Moving dropbox data directory via cli

Здравко
Super Collaborator | Level 20

Hi @pharpe,

What about binding?! :wink:

... or even more - mount entire partition on Dropbox directory as a mount point (if applicable).

Re: Moving dropbox data directory via cli

pharpe
Explorer | Level 4

I'm not sure I follow.  Doesn't binding just replicate the data to the binded location?  I don't want a dupicate copy I want it moved.  I don't have enough space on my system drive (500 GB) for dropbox.  I want the dropbox reposity on my 16 TB RAID drive. 

I could mount entire partition as a mount point but what does that accomplish? Apperently Dropbox is hard coded to only save files to ~/Dropbox and can't be changed.

Re: Moving dropbox data directory via cli

Здравко
Super Collaborator | Level 20

:open_mouth::grinning: Yes, @pharpe, Seems you don't follow my suggestion.


@pharpe wrote:

... Apperently Dropbox is hard coded to only save files to ~/Dropbox and can't be changed.


Yes, exactly, You can't move the folder without GUI. My suggestion is to move the mount point to Dropbox folder instead! :wink: Just opposite.

Hope now it's more clear.

PS: Or binding (i.e. mount --bind).


@pharpe wrote:

...  Doesn't binding just replicate the data to the binded location?  ...


No, binding "mount"s a folder content from one point to another. Yes, the content is visible in the two places simultaneously, but it's same content, not a copy (very similar like using symbolic link)! There is one complication, you should take care about. Binding is a FS-layer. This layer don't fall in Dropbox "white list", so workaround should be used (same like for non supported FS).

Poll
Do you work or study in the creative industry? If so, which area?
If you use Adobe, don't forget to check out our latest integrations update here.
Who's talking

Top contributors to this post

  • User avatar
    Здравко Super Collaborator | Level 20
  • User avatar
    pharpe Explorer | Level 4
What do Dropbox user levels mean?
Need more support?