Iām doing a similar thing where Iām planning to use MFS (Mutable File System) as the backbone for a āfederatedā platform where each instance on the network will maintain itās own complete set of certain MFS file structures (directory trees),
Iām hoping that using the MFS Copy command (like below) will have similar behavior to ārsyncā insofar as the ability to only copy mostly just changed data when āre-syncingā a across two nodes that are already nearly up to date (as a result of how chunking works). My assumption is that any files that didnāt change at all, for example, would result in zero transfer/storage during the copy operations. Iām hoping to issue just one copy command on the root of the folder structure, and let the ārecursiveā copy completely to the equivalent of an rsync.
Iām posting here since it is directly related to the above, and may help the OP, but also because I had this question of āam I crazy or notā. to try that. lol.
curl -X POST "http://127.0.0.1:5001/api/v0/files/cp?arg=<source>&arg=<dest>"