另一个用户问这个问题: 在Linux服务器上的Dropbox – 如何包含/排除文件夹?
在执行其他问题和答案中列出的某些步骤后,我的图标仍然不起作用:
编辑:如果有人在阅读这篇文章时想知道,我可以通过以下链接最终显示我的图标:
- https://www.reddit.com/r/elementaryos/comments/2ufjsy/dropbox_icon_is_not_visible/
- https://github.com/nathandyer/elementary-dropbox-mods
对于任何想从命令行执行此操作的人来说,这个问题仍应该是有效的。
有一个排除的答案,但没有一个包括。 有没有办法做到这一点?
我看到在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 ~/Dropbox ) ~/bin/dropbox.py exclude add *这将排除您的保pipe箱文件夹中的所有内容,以免同步。 (小心!这将删除您同步的所有文件) ~/bin/dropbox.py exclude remove dir