fission
fission copied to clipboard
Add a sync command to the CLI
Summary
Problem
I'm not sure if the local folder where I store files that are online at boris.fission.name are up to date. That is, have I added or removed files on another machine.
Today, I do a "fission down", but of course this gets some potentially large files so this can take a long time. Name of down and related voered in fission-suite/cli#29
Impact
I "lose" files, and generally am averse to use the CLI for basic file sharing, or to use it without Git or other file versioning solution.
Solution
A new "sync" command. Really, this is likely part of a larger feature around fission drive, which keeps folders in sync in the background. For now, a one time CLI command to run sync is good enough.
Could be very interesting to do a local "ipfs add" and compare it with remote hash of a project. If they are the same, you are already in sync!
I "lose" files, and generally am averse to use the CLI for basic file sharing, or to use it without Git or other file versioning solution.
We're going to have a fully versioned file system in the near-ish future, so file loss won't be a thing. But yes, I totally get the feature 👍