cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements
Pledging our support for Water! Read more

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

SOLVED
893 Views
5 Comments
0 Kudos
Highlighted
Level 4

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!!

1 Accepted solution

Accepted Solutions
Solution
Super User II

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

Looking at a few other posts from Dropboxers in the past, there is no method to move the Dropbox folder from the command line.

5 Replies
Super User II

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

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.

Level 4

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

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!

Solution
Super User II

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

Looking at a few other posts from Dropboxers in the past, there is no method to move the Dropbox folder from the command line.

Level 2

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

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.

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

555