-
-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add MFS sync command #4614
Comments
This sounds ideal, thanks! @Stebalien how busy are you? I ask because @rngkll and I would like to help. But, we would need a nice mentor with patience, while we get to know the code. Maybe you can throw at us a few minor tasks to help us getting started? Or well, at the very least, we will help testing it thoroughly :) |
I'd love to! I always have time for new contributors (well, I make time). However, you may need to bug me insistently and repeatedly if (well, when) I don't respond immediately. The first step on this issue would be to design the new command and specify exactly what it will do (and then wait for everyone to disagree and finally, maybe, come to an agreement). The files (MFS) commands all live in If you're looking to get familiar with the codebase first, there are a lot of small tasks you could work on. The best place to start is the "help wanted" tag. However, there are a lot of these. You'll probably want work on things related to the commands system so I recommend picking one from this list. #4414 is a nice one. |
I made a thread discussing a similar feature, as I too would like to see this. If you're interested: https://discuss.ipfs.io/t/automatically-mirroring-local-directories What I suggested is giving IPFS the ability to automatically mirror local directories into the network. When a directory is added to the list, IPFS automatically monitors it and makes the following changes: Uploading a new file into IPFS (if absent) when it's added to the directory, removing an existing file from your local IPFS cache when it's removed from the directory, and re-uploading files into IPFS when they've been edited in the directory (obviously generating new files with new hashes). |
@MirceaKitsune for that, I'd rather just have a fuse (+windows equiv) daemon (with caching). |
Basically, an rsync like command that takes a local directory and a directory in MFS and syncs them. To start with, we'd probably only sync from the local disk to the MFS directory.
This should be much faster if we can provide options to, e.g., assume that the local files haven't been modified.
The text was updated successfully, but these errors were encountered: