The dropbox.py script for dropboxd on linux will give current status:
$ dropbox.py status Syncing (2,656 files remaining) Uploading 2,656 files...
Or status of a specific file or current folder:
$ dropbox.py filestatus Camera Uploads: up to date Customer Shares: syncing
But is there a way to see what file(s) are actually being transferred right now?
The reason I ask is that dropbox has been stuck for days syncing but isn't progressing. I suspect it is stuck on some weirdly large or corrupt file, and if I could identify it, I could remove it / ignore it.
$ ls -l /proc/7857/fd
Where 7857 is the pid of dropbox, no files in the synced path are shown.
Note that requiring the stopping of dropboxd and re-executing with a debugger would not reveal what is being transferred now. Stopping and starting the daemon results in re-indexing and re-commencing synchronisation. This would likely cause a different set of files to be the ones being transferred.