3

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?

5
  • What's preventing you from just going to the Dropbox folder on your Mac?
    – slhck
    Commented Apr 22, 2015 at 6:23
  • Are you on OS X and want to access a Dropbox folder on a remote machine? Are you on OS X and want to access a Dropbox folder locally via command line? Do you want to access a Dropbox folder on OS X from a remote machine? Your question isn't clear Commented Apr 22, 2015 at 6:24
  • If you have Dropbox installed, it behaves like a normal folder so just a cd ~/Dropbox (if using the default) would work. Commented Apr 22, 2015 at 6:25
  • @BrianKintz I want to acess my Dropbox remotely. So i want to know is there a way to have commandline access to Dropbox Commented Apr 22, 2015 at 7:18
  • Have you tried just entering dropbox in command-line?
    – redbeam_
    Commented Apr 22, 2015 at 7:57

3 Answers 3

1

Just accessing cd /Users/$home-user/Dropbox solved my question

1

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)/"
1
1

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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .