V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
Distributions
Ubuntu
Fedora
CentOS
中文资源站
网易开源镜像站
Panic
V2EX  ›  Linux

新手的简易型 dropbox 忽略文件(夹)更新脚本

  •  
  •   Panic · Oct 19, 2014 · 4299 views
    This topic created in 4218 days ago, the information mentioned may be changed or developed.
    之前在 http://www.v2ex.com/t/139544 问过如何同步多个环境,最后发现还是dropbox比较好用(傻瓜)。今天琐琐碎碎的配置了一天竟然发现dropbox到现在还不支持根据config来ignore指定类型的文件,搜索发现貌似11年就有人在提这个请求了,很难相信这么基本的功能都还没有,没办法,只能手动使用linux 上dropbox CL来一个个排除了。

    后来想着根据.gitignore的规则来自动添加排除文件,作为初学者的我在google了读取文件,字符串查找,执行外部命令等例子代码后拼凑了一个简单的shell脚本,没考虑太多其他处理,欢迎大家提建议。

    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   922 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 34ms · UTC 21:17 · PVG 05:17 · LAX 14:17 · JFK 17:17
    ♥ Do have faith in what you're doing.