Query a synchronization status of a local file in your Dropbox folder. It should be either:
- File is up to date.
- File is synchronizing now.
- File doesn't exist.
- There is a sync error.
- File is ignored (i.e. excluded from sync).
- Dropbox application is not running.
You should have Dropbox.app up and running.
Tested on OS X 10.11 with Dropbox.app (3.10.9) installed. Might work with older versions as well
$ ./DropboxStatusFetcher <file path>
Examples:
$ ./DropboxStatusFetcher ~/Dropbox/
# > up_to_date
$ ./DropboxStatusFetcher ~/Dropbox/FileThatDontSyncLocally
# > ignored
$ ./DropboxStatusFetcher ~/Dropbox/MyMovie.m4v
# > synchronizing
Open the .xcodeproj
file with Xcode and hit the Build button (⌘+B).
© Dmitry Rodionov, 2015