vim 파일을 Ubuntu One에 보관하고 git 하위 모듈로 많은 플러그인을 설치 했으므로 (또는 번들로 설치) 기본 컴퓨터에서 이러한 리포지토리를 업데이트하는 데 관심이 있습니다 .Ubuntu One을 다음과 같이 설정했습니다. 다음을 사용하여 이러한 파일을 무시하십시오.
ignore = \A.*\.git\Z
에서 ~/.config/ubuntuone/syncdaemon.conf
이 파일을 동기화 수천이되지 않도록. 이제이 파일을 드롭 박스로 옮기려고하지만 드롭 박스에서 동등한 설정을 찾을 수 없습니다.
그래서 제 질문은 dropbox에게 특정 이름 (특히 도트 폴더)을 가진 파일 / 폴더를 무시하도록 어떻게 말할 수 있습니까?
답변
Linux에서 Dropbox에는 클라이언트 ( dropbox
)와 데몬 ( dropboxd
)이 있습니다.
클라이언트에는 exclude
디렉토리를 제외시키는 데 사용할 수 있는 명령이 있습니다. 예를 들어 Dropbox에서 node_modules를 제외하려면 입력 할 수 있습니다dropbox exclude add ./node_modules
dropbox help exclude
도움말 정보를 인쇄합니다 :
dropbox exclude [list]
dropbox exclude add [DIRECTORY] [DIRECTORY] ...
dropbox exclude remove [DIRECTORY] [DIRECTORY] ...
"list" prints a list of directories currently excluded from syncing.
"add" adds one or more directories to the exclusion list, then resynchronizes Dropbox.
"remove" removes one or more directories from the exclusion list, then resynchronizes Dropbox.
With no arguments, executes "list".
Any specified path must be within Dropbox.
답변
Dropbox에는 구성 할 수 있는 선택적 동기화 기능이 있습니다.
내가 찾은 몇 가지 도구는 구성 파일을 통해이를 달성하는 것에 대해 이야기합니다.
답변
Dropbox는 https://help.dropbox.com/en-us/files-folders/restore-delete/ignored-files 문제를 마침내 해결하는 기능을 수행하는 것 같습니다.
그러나 그때 까지이 솔루션을 확인하십시오 : /programming//a/60104539/1768033
선택적 동기화보다 나은 방법.
답변
rsync 로이 작업을 수행 할 수 있습니다! 모든 node_modules 및 기타 공급 업체 파일을 제외하고 지금이 성공적으로 실행하고 있습니다. https://arshaw.com/exclude-node-modules-dropbox-google-drive에 대한 가이드를 작성합니다.