This script searches a local folder for sync conflicts caused by Nextcloud or Syncthing and asks how to resolve each of these. In the case of plain text files (based on a .txt, .md or .json file extension) it prints the difference. If you have a merge tool set up for git, it also gives the option to use that to solve the conflict.
- Run
pipenv installto install all dependencies from thePipfile - Run
pipenv run python solve-conflicts.pyto solve your conflicts - Feel free to change the defaults at the top of
solve-conflicts.pyto match your system