使用DropBox GUI,可以具体控制要同步的文件夹.这可以通过命令行以某种方式完成吗?
背景:我正在尝试在这里给出的linux服务器上安装DropBox的解决方案,它似乎工作正常:
http://ubuntuservergui.com/ubuntu-server-guide/install-dropbox-ubuntu-server
解决方法
官方DropBox CLI有一个
exclude option.
在Linux上DropBox有一个客户端(dropBox)和一个deamon(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.