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!!
Solved! Go to Solution.
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!
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.