syncrypt / client

Syncrypt command line client and sync daemon
https://syncrypt.space
GNU General Public License v3.0
11 stars 1 forks source link

Allow cloning a vault into a previously cloned location #36

Closed lordi closed 6 years ago

lordi commented 6 years ago

Currently, it aborts with an exception because the folder is not empty.

If the vault ids match, we should just treat this the same way as if the user added the folder for syncing.

bakkdoor commented 6 years ago

Should we then just show an error message to the user and let them have to delete the .vault dir manually or should we do this for them and/or warn the user and delete the .vault folder if the vault ID inside .vault/config is invalid (due to the vault having been deleted on the server)

lordi commented 6 years ago

You are referring to the case where the vault ids do not match?

bakkdoor commented 6 years ago

Sorry I think I misread this initially, ignore my comment.

lordi commented 6 years ago

Works now