V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX  ›  Nimrod  ›  全部回复第 3 页 / 共 11 页
回复总数  218
1  2  3  4  5  6  7  8  9  10 ... 11  
2020-04-09 12:18:32 +08:00
回复了 DeadLion 创建的主题 职场话题 气炸了,我需要吐槽下 xx 同事
所以升级前没有上下游商量吗?
2020-04-09 00:00:16 +08:00
回复了 deepmindlab 创建的主题 程序员 中学时期错误的理解了苏南高考都很牛
你说的比较厉害的无锡就是苏南啊。
2020-04-08 23:57:23 +08:00
回复了 whiplash211 创建的主题 配件 60%无线键盘求推荐
推荐青轴 keychron,入手两个月,体验极佳。
2020-04-06 02:08:53 +08:00
回复了 haruhi 创建的主题 分享发现 上海又少了一家做海外市场的产品
啊,那个类似贴吧的 app,我之前还挺喜欢跟里面的人聊天的
2020-04-03 22:59:06 +08:00
回复了 azhi 创建的主题 Pixel pixel 4 xl 竟然可以用联通 nfc-sim 刷地铁
最近想换手机,请问楼主 pixel 4 香吗,用过 pixel 2,对🐶家的手机还是蛮中意的
2020-03-28 14:04:05 +08:00
回复了 masonincn 创建的主题 硬件 后悔买晚了,入手明基 ScreenBar Plus
太贵了。。。关键是双屏三屏怎么破
2020-03-28 00:46:28 +08:00
回复了 hemingcn 创建的主题 互联网 一个丑逼的舔狗日记 搭建完成
好奇哪来这么多素材。。
命令行的试试 lazygit
2020-03-20 19:37:18 +08:00
回复了 LudwigWS 创建的主题 Java 重名方法怎么命名?
getUserV2?
2020-03-19 13:02:56 +08:00
回复了 18k 创建的主题 服务器 母鸡怎么不下蛋了
上面那个长回复把我看乐了 23333
2020-01-01 02:12:03 +08:00
回复了 7Sasuke7L 创建的主题 职场话题 数学系研究生快毕业,数学教师工作如何
@NerverLibis 您这是开了多大的地图炮啊🌚
2020-01-01 02:07:21 +08:00
回复了 Ianzhu 创建的主题 iCode 马上 2020 了,送一波 zClock 兑换码.
2019-10-13 17:23:46 +08:00
回复了 Kamitora 创建的主题 职场话题 实习一周有感,请求建议。
同上海实习中,研发岗位,真的太累了,甚至考虑少拿点钱轻松一点。🌚
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 不作增量检测算法,直接拷贝。
增量检测是指针对同一个文件,检查有什么修改。
1  2  3  4  5  6  7  8  9  10 ... 11  
关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   3072 人在线   最高记录 6543   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 36ms · UTC 14:36 · PVG 22:36 · LAX 07:36 · JFK 10:36
Developed with CodeLauncher
♥ Do have faith in what you're doing.