헤드리스 드롭 박스 설치시 동기화 상태를 얻는 방법 파일 다운로드”또는 “모든 최신”). 나는 방법이

데비안 서버에서 Dropbox를 실행하고 있습니다. Windows에서 드롭 박스 아이콘을 마우스 오른쪽 버튼으로 클릭 할 때와 같이 동기화 상태를 확인하고 싶습니다 (예 : “123 파일 다운로드”또는 “모든 최신”).

나는 방법이 있다고 확신하지만 Google은 분명히 내 친구가 아닙니다.

Pls. 필자는 일반적인 Linux 데스크톱에 사용되는 일반적인 dropbox + dropbox-nautilus 설정이 아니라 dropbox의 헤드리스 서버 설치에 대해 이야기하고 있습니다.



답변

데몬 관리를 위해 dropbox 스크립트 를 다운로드해야 할 것 같습니다 . 보관 용 웹 사이트 에 대한 지침

wget -O ~/dropbox.py https://www.dropbox.com/download?dl=packages/dropbox.py
chmod a+x ~/dropbox.py
~/dropbox.py status

dropbox 스크립트에 대한 심볼릭 링크를 만들 수도 있으므로 ~/dropbox.py매번 실행할 필요가 없습니다 .

sudo ln -s ~/dropbox.py /usr/local/bin/dropbox
dropbox status


답변

도우미 스크립트가 설치된 상태 (.deb 패키지의 일부)

$ dropbox help
Dropbox command-line interface

commands:

Note: use dropbox help <command> to view usage for a specific command.

 status       get current status of the dropboxd
 help         provide help
 puburl       get public url of a file in your dropbox
 stop         stop dropboxd
 running      return whether dropbox is running
 update       download latest version of dropbox
 start        start dropboxd
 filestatus   get current sync status of one or more files
 ls           list directory contents with current sync status
 autostart    automatically start dropbox at login
 exclude      ignores/excludes a directory from syncing
 lansync      enables or disables LAN sync


$ dropbox status


답변