有没有这种工具?可以监控文件夹的变化并传输新的文件?

2018-03-13 12:42:16 +08:00
 jahan
想监控一个目录及其子目录的文件变化,并能传输新生成的文件?能自动执行,服务级别的最好。
6280 次点击
所在节点    程序员
40 条回复
monlite
2018-03-13 14:26:49 +08:00
inotify+rsync
aver4vex
2018-03-13 14:38:41 +08:00
inotify+rsync +1
LokiSharp
2018-03-13 14:54:29 +08:00
OSX 的时间机器?
xrui
2018-03-13 14:59:41 +08:00
Resilio sync,局域网,而且几乎全平台支持
anyele
2018-03-13 15:07:24 +08:00
syncthing 了接一下
jahan
2018-03-13 15:20:59 +08:00
貌似是全亮备份?我这个文件夹只需要备份某时刻或者部署之后的增量即可。
imn1
2018-03-13 15:21:58 +08:00
找同步软件,设置单向、增量就行了
jahan
2018-03-13 15:27:29 +08:00
试一下,看看能不能把目录结构也同步下来
jahan
2018-03-13 15:28:12 +08:00
感觉这样是自架一个云盘
liwl
2018-03-13 15:30:33 +08:00
inotify+rsync
Mavious
2018-03-13 16:44:09 +08:00
When_Changed – 当文件有变化时打开某个程序[Windows]
http://www.apprcn.com/when_changed.html
guyskk0x0
2018-03-13 17:13:33 +08:00
gainsurier
2018-03-13 21:34:38 +08:00
brig,一个德国小哥开发的,底层可以基于 ipfs,目前还在 beta 版。
https://github.com/sahib/brig
· 增量备份
· p2p 传输
· 版本管理
PhaSelEza
2018-03-13 21:36:40 +08:00
Windows 下可以使用 robocopy /mir
PhaSelEza
2018-03-13 21:37:31 +08:00
@PhaSelEza robocopy 是不行的,看错需求了,抱歉。
locoz
2018-03-13 21:38:49 +08:00
各类云盘。。如 seafile、nextcloud
jaylong
2018-03-13 21:51:14 +08:00
Hazel
https://www.noodlesoft.com
Hazel watches whatever folders you tell it to, automatically organizing your files according to the rules you create. Have Hazel move files around based on name, date, type, what site it came from and much more. Automatically sort your movies or file your bills. Keep your files off the desktop and put them where they belong.
lfzyx
2018-03-13 22:05:55 +08:00
不知道前 10 楼说的是什么鬼,inotify+rsync 才是正确的方法
hardman
2018-03-13 23:03:13 +08:00
日志检测然后了解下
jahan
2018-03-14 01:50:11 +08:00
感谢大家热心回复。

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/437573

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX