找回密码
 立即注册
搜索
查看: 1664|回复: 9

[软件] iPad上如何对pdf等文件实现增量同步

[复制链接]
     
发表于 2021-10-2 09:13 | 显示全部楼层 |阅读模式
平时有在电脑和iPad上标注和同步pdf的需求,同步软件使用的是群晖的Drive,电脑上标注完后上传同步很快,但是在iPad上就遇到了问题。

目前在iPad上使用pdf expert进行标注,每次标注完成进行同步的方式是重新上传整个文件,于是问题就来了,我有很多pdf文件都有几百兆大小,次次重新上传着实麻烦,所以有什么好的解决方案么
回复

使用道具 举报

     
发表于 2021-10-2 09:32 | 显示全部楼层
iCloud
回复

使用道具 举报

     
发表于 2021-10-2 10:09 | 显示全部楼层
估计不太行,同步盘都是监测文件改动的,只要是笔记被添加到PDF文件里,就得整个PDF重新上传到服务器。

要实现你的目标有两个条件,一是笔记跟PDF是单独文件保存;二是笔记文件在PC上也要能识别,也就是说这个PDF阅读器在手机和PC上都要有客户端。
回复

使用道具 举报

     
发表于 2021-10-4 16:36 来自手机 | 显示全部楼层
增量在二进制文件实现起来没啥通用的好办法吧

—— 来自 vivo NEX S, Android 10上的 S1Next-鹅版 v2.4.4.1
回复

使用道具 举报

头像被屏蔽
发表于 2021-10-4 16:44 | 显示全部楼层
提示: 作者被禁止或删除 内容自动屏蔽
回复

使用道具 举报

     
发表于 2021-10-4 16:57 | 显示全部楼层
Redis 发表于 2021-10-4 16:44
这个不大可能

pdf的注释是格式内部的,注释一改,你的文件的md5就变了。不管什么网盘,最后其实都是对比md ...

不是吧,我记得软件的注释是不修改PDF本身的,额外存在另外文件里
回复

使用道具 举报

     
发表于 2021-10-4 17:24 | 显示全部楼层
SICP 发表于 2021-10-4 16:57
不是吧,我记得软件的注释是不修改PDF本身的,额外存在另外文件里

Adobe官方的标准,Comments就是放文件里面的,否则LZ哪来这个问题

https://www.adobe.com/content/da ... s/PDF32000_2008.pdf

7.2.3 Comments
Any occurrence of the PERCENT SIGN (25h) outside a string or stream introduces a comment. The comment consists of all characters after the PERCENT SIGN and up to but not including the end of the line, including regular, delimiter, SPACE (20h), and HORZONTAL TAB characters (09h). A conforming reader shall ignore comments, and treat them as single white-space characters. That is, a comment separates the token preceding it from the one following it.
  1. EXAMPLE
  2. The PDF fragment in this example is syntactically equivalent to just the tokens abc and 123.
  3. abc% comment ( /%) blah blah blah
  4. 123
复制代码

Comments (other than the %PDF–n.m and %%EOF comments described in 7.5, "File Structure") have no semantics. They are not necessarily preserved by applications that edit PDF files.


回复

使用道具 举报

头像被屏蔽
发表于 2021-10-4 17:31 | 显示全部楼层
提示: 作者被禁止或删除 内容自动屏蔽
回复

使用道具 举报

     
发表于 2021-10-4 18:08 | 显示全部楼层
password 发表于 2021-10-4 17:24
Adobe官方的标准,Comments就是放文件里面的,否则LZ哪来这个问题

https://www.adobe.com/conten ...

我以为他想把在PDF上用“笔”写的东西保存
回复

使用道具 举报

     
发表于 2021-10-4 20:09 | 显示全部楼层
自己造个轮子,文件分块后计算哈希,只传更新过的部分
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|上海互联网违法和不良信息举报中心|网上有害信息举报专区|962110 反电信诈骗|举报电话 021-62035905|Stage1st ( 沪ICP备13020230号-1|沪公网安备 31010702007642号 )

GMT+8, 2024-9-23 17:25 , Processed in 0.302638 second(s), 5 queries , Gzip On, Redis On.

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表