V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX  ›  xinmans  ›  全部回复第 1 页 / 共 26 页
回复总数  505
1  2  3  4  5  6  7  8  9  10 ... 26  
谢谢各位,我试试
@noqwerty ,谢谢,好像是可以满足我的需求,i will try
For example, if you have many files in /path/to/src but only a few of them change every day, you can copy all the files which have changed recently very efficiently like this:

rclone copy --max-age 24h --no-traverse /path/to/src remote:
Rclone will sync the modification times of files and directories if the backend supports it. If metadata syncing is required then use the --metadata flag.

Note that the modification time and metadata for the root directory will not be synced. See https://github.com/rclone/rclone/issues/7652 for more info.
A 中的文件会不断新增新文件,我只需要把新增的新文件同步到 B 目录,已经同步过的不要同步到 B 目录,我会有一个程序处理 B 目录,会把处理过的文件删除掉。我希望有一个只同步新增文件的过程,且 B 目录的老文件会定期清理掉(因为空间不够)
@ntedshen
--ignore-existing:要求只更新目标端不存在的文件。和"--existing"结合使用有特殊功能,见下文示例。

主要是我的目录 B 需要定期删除已经同步的文件,但是 A 目录要保持全量。这个满足不了我的需求。
看完了 V 友们的建议,很受益。看起来要尽快行动起来。
21 天前
回复了 Avedge 创建的主题 阅读 大家最近在读什么书
朱可夫战争回忆录《回忆与思考》
李宗仁回忆录
25 天前
回复了 louisliu813 创建的主题 Apple 2025 了,大家怎么在 iPad 远程 macbook
@vpsvps 好像是可以的。
26 天前
回复了 louisliu813 创建的主题 Apple 2025 了,大家怎么在 iPad 远程 macbook
tailscale+windows App ( remote desktop )稳定的一笔
@CharmingCheung 我主要是 ipad+iPhone 需要同步,你是什么端?
@spike0100 这个我试试。icloud 大家不用的吗?
@CharmingCheung 这个赞,我也希望能定时同步到云盘,现在 icloud 同步也还行,就是 icloud 有个问题,经常会删文件要重新同步,烦得一逼。
34 天前
回复了 ZGeek 创建的主题 NAS 家用 NAS 的备份方案?
最好用的 pve+PBS ,磁盘级备份,多个快照,恢复也快
问题解决了,nginx 换了一个监听端口。可能是阿里云 ecs 的安全防护策略导致的
@marsLeo HEAD 请求返回值是 200 ,所以应该是没有问题的。但问题是没有继续发送 GET 请求,看着像 dingtalkBot 的问题
看了下图片服务端 nginx 日志


钉钉机器人访问的只有 HEAD ,没有 GET ?,所以是 DingTalkBot 的锅?
59.1.1.1- - [04/Jan/2025:11:35:44 +0000] "HEAD /images/2025-01-04/182540_swUc.jpg HTTP/1.1" 200 0 "-" "DingTalkBot-SecurityService/1.0" "-"*

在 ipad 上能够正常打开,GET 请求

115.1.1.1 - - [04/Jan/2025:11:35:44 +0000] "GET /images/2025-01-04/xxx%20-%xxxx_swUc.jpg HTTP/1.1" 304 0 "-" "Mozilla/5.0 (iPad; CPU OS 18_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/xxx AliApp(DingTalk/7.6.36) com.laiwang.DingTalk/xxx Channel/201200 Pad/iPad language/zh-Hans-CN UT4Aplus/0.0.6 WK" "-"
@lmaq 移动端如何抓包?
@kk2syc 但是有些图片不会裂,不是全部都裂
@ztm0929 图片是部署在阿里云的服务器上的,nginx 服务。链接直接打开是可以访问的。
@viiii 试了下,蛮好。git 确实不错。 但是有个问题,我有 iPhone ,ipad ,win11 三个端。 我现在希望插件和配置也可以通过 git 同步,但是没办法在 ipad 和 iPhone 上直接把 vault 设置成 git clone 的目录,win11 上倒是可以操作。
@klesh iPad 上如何设置插件放在 vault 里?
1  2  3  4  5  6  7  8  9  10 ... 26  
关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   2939 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 23ms · UTC 14:35 · PVG 22:35 · LAX 06:35 · JFK 09:35
Developed with CodeLauncher
♥ Do have faith in what you're doing.