V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX  ›  Nimrod  ›  全部回复第 4 页 / 共 11 页
回复总数  219
1  2  3  4  5  6  7  8  9  10 ... 11  
2019-09-18 16:51:10 +08:00
回复了 kisshere 创建的主题 程序员 rsync 的-c 和-W 参数的含义到底什么意思?
参见 https://linux.die.net/man/1/rsync
-c, --checksum
This changes the way rsync checks if the files have been changed and are in need of a transfer. Without this option, rsync uses a lqquick checkrq that (by default) checks if each file's size and time of last modification match between the sender and receiver. This option changes this to compare a 128-bit checksum for each file that has a matching size. Generating the checksums means that both sides will expend a lot of disk I/O reading all the data in the files in the transfer (and this is prior to any reading that will be done to transfer changed files), so this can slow things down significantly.
The sending side generates its checksums while it is doing the file-system scan that builds the list of the available files. The receiver generates its checksums when it is scanning for changed files, and will checksum any file that has the same size as the corresponding sender's file: files with either a changed size or a changed checksum are selected for transfer.
Note that rsync always verifies that each transferred file was correctly reconstructed on the receiving side by checking a whole-file checksum that is generated as the file is transferred, but that automatic after-the-transfer verification has nothing to do with this option's before-the-transfer lqDoes this file need to be updated?rq check.
For protocol 30 and beyond (first supported in 3.0.0), the checksum used is MD5. For older protocols, the checksum used is MD4.
-W, --whole-file
With this option rsync's delta-transfer algorithm is not used and the whole file is sent as-is instead. The transfer may be faster if this option is used when the bandwidth between the source and destination machines is higher than the bandwidth to disk (especially when the lqdiskrq is actually a networked filesystem). This is the default when both the source and destination are specified as local paths.

简而言之,-c 是用 checksum 替代默认 rsync 的增量检测算法,-W 不作增量检测算法,直接拷贝。
增量检测是指针对同一个文件,检查有什么修改。
2019-07-27 01:25:16 +08:00
回复了 foxyier 创建的主题 Python opencv- Python 翻译中(仅供参考)
@MinQ 大公司还是得用 opencv 的,opencv 有针对各种架构的加速库。
2019-07-23 01:47:04 +08:00
回复了 shylockhg 创建的主题 职场话题 24 了,面试腾讯倒在脑经急转弯题上了
脑经×
脑筋✓
2019-07-23 01:32:36 +08:00
回复了 morainzh 创建的主题 程序员 介绍一下如何自组 500 以下的机械键盘?
借楼问下,客制相比于厂牌,除了好看,有啥优势吗?
2019-07-21 00:41:38 +08:00
回复了 gzxu 创建的主题 V2EX 我被盗号了?
这个连续登陆不是非得每天登陆才能保持的。
2019-07-18 21:07:42 +08:00
回复了 Nimrod 创建的主题 上海 上海哪有比较好的按摩店?
@artikle 记得名字吗老铁?
2019-07-18 14:35:47 +08:00
回复了 Nimrod 创建的主题 上海 上海哪有比较好的按摩店?
@awesomes 正规的。
上海 bilibili?
2019-07-14 23:17:33 +08:00
回复了 Heiban 创建的主题 问与答 有人喝过魔爪吗?跟红牛比起来,哪个更猛?
我身边的朋友第一次喝都会有晚上精神亢奋到失眠的情况。
2019-07-14 23:15:59 +08:00
回复了 Heiban 创建的主题 问与答 有人喝过魔爪吗?跟红牛比起来,哪个更猛?
期末前一个月曾经尝试过每天至少一罐,作用显著,精力充沛到放弃午睡晚上依然干劲十足。不过副作用也十分明显,后面再喝效果没有最开始那么明显,刚断魔爪那段日子会有特别困的情况。现在就是遇到需要熬夜来一瓶,建议不要当饮料喝。
2019-07-09 12:03:16 +08:00
回复了 bewater 创建的主题 问与答 有人看王老菊的奴隶阿飞的励志人生了吗?
@icekingcy 王老菊是 b 站一个游戏 up 主,上面你看不懂的基本都是他视频中出的一些梗。
2019-07-01 09:57:23 +08:00
回复了 est 创建的主题 全球工单系统 「刷脸支付」如何处理 双胞胎 问题的?
@Kirscheis 刷脸是不用账号的,完全靠脸验证
2019-06-15 14:15:47 +08:00
回复了 haifenluo 创建的主题 Apple 2018 MacBook Pro 不是一般的差
不知道有没有遇到同样的 mbp18chrome 莫名卡死,sshfs 断网也卡死- -
2019-06-15 14:13:50 +08:00
回复了 embbnux 创建的主题 分享创造 RNN 学习 - 小诗一首,会写古诗的小程序
@vcinex 指望机器能理解思想这个 feature 恐怕不太容易
2019-06-03 09:27:25 +08:00
回复了 anonymousUser123 创建的主题 职场话题 羡慕家里有钱的同学可以去美国念 cs 硕士,进大厂
向前看也要向后看,知足者常乐。
2019-05-31 01:53:06 +08:00
回复了 imattlmq 创建的主题 问与答 请问现在还有什么方式可以得到 edu 邮箱?
如果是.edu 邮箱,国内大学是没有的。一般要么淘宝,要么校友邮箱。
测试版以后还能用吗?
1  2  3  4  5  6  7  8  9  10 ... 11  
关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   5925 人在线   最高记录 6543   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 43ms · UTC 01:58 · PVG 09:58 · LAX 18:58 · JFK 21:58
Developed with CodeLauncher
♥ Do have faith in what you're doing.