Linux   发布时间:2022-04-01  发布网站:大佬教程  code.js-code.com
大佬教程收集整理的这篇文章主要介绍了如何在Linux中通过命令行中的Dropbox选择性同步功能*包含*文件夹?大佬教程大佬觉得挺不错的,现在分享给大家,也给大家做个参考。

概述

在另一位用户提出这个问题之后: Dropbox on linux server – how to include/exclude folders? 执行其他问题和答案中列出的某些步骤后,我的图标仍然无效: > https://askubuntu.com/questions/358913/no-dropbox-icon-in-the-inDicator-panel > https://askubun
在另一位用户提出这个问题之后: Dropbox on linux server – how to include/exclude folders?

执行其他问题和答案中列出的某些步骤后,我的图标仍然无效:

> https://askubuntu.com/questions/358913/no-dropbox-icon-in-the-indicator-panel
> https://askubuntu.com/questions/182567/dropbox-icon-in-tray-is-missing

一个排除的答案,但不包括.有没有办法实现这个目标?

我看到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文件夹(通常是cd~ / DropBox)
>然后键入〜/ bin / dropBox.py排除添加*这将从同步中排除保管箱文件夹中的所有内容. (小心!这将删除您同步的所有文件)
>然后,如果要开始同步文件夹“dir”,请键入〜/ bin / dropBox.py exclude remove dir

取自
http://www.dropboxwiki.com/tips-and-tricks/using-the-official-dropbox-command-line-interface-cli#comment-1778553228

大佬总结

以上是大佬教程为你收集整理的如何在Linux中通过命令行中的Dropbox选择性同步功能*包含*文件夹?全部内容,希望文章能够帮你解决如何在Linux中通过命令行中的Dropbox选择性同步功能*包含*文件夹?所遇到的程序开发问题。

如果觉得大佬教程网站内容还不错,欢迎将大佬教程推荐给程序员好友。

本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ:384754419,请注明来意。