I want to access Dropbox in my Mac from a remote location with ssh. Is there any way to access Dropbox from the OS X command line?
3 Answers
If you have both a company and personal dropbox it can be more complicated because both the space and the parens need to be escaped or quoted. In this case your cd looks more like:
cd /Users/$home-user/Dropbox\ \(Company Name\)/
or
cd "/Users/$home-user/Dropbox (Company Name)/"
-
1It's simpler to put the whole thing in quotes. Commented Nov 15, 2018 at 2:58
Previously the location of the Dropbox folder was:
/Users/$home-user/Dropbox
For the most recent version it has changed to:
/Users/$home-user/Library/CloudStorage/Dropbox
cd ~/Dropbox
(if using the default) would work.dropbox
in command-line?