명령 줄에서 Linux의 Dropbox의 선택적 동기화 기능을 통해 폴더를 어떻게 * 포함 * 할 수 있습니까? interface commands: Note: use dropbox help <command>

다른 사용자 가이 질문을 한 후 : Linux 서버의 Dropbox-폴더를 포함 / 제외하는 방법은 무엇입니까?

다른 질문과 답변에 나열된 일부 단계를 수행 한 후에도 여전히 아이콘이 작동하지 않습니다.

편집 : 이 게시물을 읽는 동안 누군가 궁금해하는 경우 다음 링크를 따라 아이콘을 마침내 표시 할 수있었습니다.

이 질문은 명령 행에서이 작업을 수행하려는 모든 사람에게 여전히 유효해야합니다.

제외에 대한 답변이 있었지만 포함에 대한 답변은 없었습니다. 이것을 달성 할 수있는 방법이 있습니까?

이전 명령이 dropbox명령의 도움말 텍스트에 나열되어 있지만 포함시키는 데 도움이되는 것은 없습니다.

아무도 이것을 달성하는 방법을 알고 있습니까?

다음은 현재 도움말 텍스트입니다.

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
 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 폴더에 다른 파일을 포함시키지 않고 파일 제외를 언급하는 공식 Dropbox 도움말 문서를 발견했습니다.



답변

모든 파일 / 폴더를 제외 시키려면 :

  • 보관 용 폴더로 cd (일반적으로 cd ~/Dropbox)
  • 그러면 ~/bin/dropbox.py exclude add *dropbox 폴더의 모든 항목이 동기화되지 않습니다.를 입력합니다. (주의! 동기화 한 모든 파일이 제거됩니다.)
  • 그런 다음 “dir”폴더 동기화를 시작하려면 다음을 입력하십시오. ~/bin/dropbox.py exclude remove dir

http://www.dropboxwiki.com/tips-and-tricks/using-the-official-dropbox-command-line-interface-cli#comment-1778553228 에서 가져온


답변