Skip to content
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

How to clean the json #9

Closed
alfamejl opened this issue Nov 15, 2023 · 2 comments
Closed

How to clean the json #9

alfamejl opened this issue Nov 15, 2023 · 2 comments

Comments

@alfamejl
Copy link

Hi,

Thank you for the script!

I got a json converted. I have not yet managed to clean it up. It says that fixup-v1 or fixup-v2 are not recognized as internal or external commands, operable programs or batch files.

C:\Users\erikp\ColorNote-backup-decryptor-master\ColorNote-backup-decryptor-master>java -jar colornote-decrypt.jar 0000 28 < colornote-20231114.backup | fixup-v2 > notes.json
'fixup-v2' is not recognized as an internal or external command,
operable program or batch file.

Any idea on how to solve it?
Bless you

@olejorgenb
Copy link
Owner

Looks like you're on Windows.

These scripts are written for linux shells, so it will not work out-of the box on windows. You can try to install cygwin (or gitbash (which is built on cygwin I think, but offers a possible easier to install package)

If you do, try to run this instead since . is probably not in PATH by default in cygwin.

java -jar colornote-decrypt.jar 0000 28 < colornote-20231114.backup | ./fixup-v2 > notes.json

You could also look into the open PR which tries to improve the UX of some of these, but I don't remember if that is any easier to run on windows or not. (I think maybe it replaced some of the scripts with a clojure/java implementation so maybe)

@alfamejl
Copy link
Author

Praise Jesus!
It works well. Thank you. After some tries at installing cygwin and perl it worked perfectly.
Thanks and bless you very much through the Lord of all creation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants