A command to get the sync status of a Dropbox file

I'm using Dropbox on Ubuntu. I'd like to detect the sync status of a file in my public directory (specifically: is it uploaded?) with a command / script. Is this possible?


Solution 1:

Use filestatus:

dropbox filestatus /path/to/file

For more help see:

dropbox help