认识
文件工具,File Tool,该处泛指以文件为最小操作单位的工具(通常不区分文件类型)。
性质
提供文件同步功能 synchronizeFiles
功能:其能够保持多台设备的目录内容一致,当修改某台设备的文件,其他设备也能够同步到该文件。
注意:该功能强调目录间的同步,即一致性。
案例:我们有三台机器(Linux、macOS、Windows),这三台机器上都有类似的这么几个目录:Music、Movies、Pictures、Downloads 这样目录(即使名字不同,作用也是大同小异的),现在我们希望保持这三台机器上对应的目录的内容是同步的。例如,我们在 Windows 的 Music/ 新增 MP3 文件,那么希望这个 MP3 文件能够同步到 macOS 和 Linux 的 Music/ 中。
提供文件传输功能 transferFiles
功能:File transfer is the transmission of a computer file through a communication channel from one computer system to another. Typically, file transfer is mediated by a communications protocol. In the history of computing, numerous file transfer protocols have been designed for different contexts. —— https://en.wikipedia.org/wiki/File_transfer
注意:该功能强调将文件传输到其他设备。
案例:
提供文件分享功能 shareFiles
WIP
构造
文件同步工具
- rsync、
- lsyncd、
- wor/goanysync: Directory symlinker and content syncer.
- Anything-sync-daemon – ArchWiki
- git-sync https://github.com/kubernetes/git-sync
- ……
多终端传输文件
GitHub – claudiodangelis/qrcp
Transfer files over wifi from your computer to your mobile device by scanning a QR code without leaving the terminal.
Wormhole | magic-wormhole/magic-wormhole: get things from one computer to another, safely
文档:https://magic-wormhole.readthedocs.io/en/latest/index.html
仓库:https://github.com/magic-wormhole/magic-wormhole
iWant:一个去中心化的点对点共享文件的命令行工具
https://zhuanlan.zhihu.com/p/61306523?utm_source=qq&utm_medium=social&utm_oi=796410585838395392
Warpinator
https://github.com/linuxmint/warpinator
商业集成服务
我们找到如下解决方案:
- BT Sync (Resilio Sync)
- Dropbox
参考
在我们接触 SSD 性能优化时,接触到该类工具