I have Dropbox installed on a remote machine which I can only access via command line. The Dropbox folder installs by default to ~/
, which is on a low-capacity SSD that holds my OS and programs. I would like to move the Dropbox folder to my internal HDD, /platter
, which has enough capacity to hold all the files in my Dropbox. I can't figure out how to do this using only the command line/remote access.
I've tried moving the folder with mv ~/Dropbox /platter/Dropbox
. It moves fine but won't sync. dropbox status
only returns Dropbox isn't running!
even though I can see the processes in htop
. dropbox start
runs some stuff that looks like it's starting (and I see things happening in the htop
view of processes that have dropbox
in them), but then dropbox status
returns the same message -- Dropbox isn't running!
It starts syncing again if I mv /platter/Dropbox ~/Dropbox
, kill the running Dropbox processes, and re-run Dropbox start
.
I've uninstalled and reinstalled using the headless install instructions here, but it still puts the Dropbox folder into ~/
.
The instructions on the Dropbox website aren't super helpful because they assume access to the Dropbox GUI. I need something that can work via command line only since I only have remote access to the machine.
The other questions I've seen on here also seem to use the GUI. Is there a way to change where the folder is and get it to sync using only the command line/remote access?
The remote machine is running Ubuntu 18.04, Dropbox daemon version 140.3.1861, and Dropbox command-line interface version 2020.03.04.