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

Where is the database stored? #361

Open
pgierz opened this issue Feb 16, 2021 · 1 comment
Open

Where is the database stored? #361

pgierz opened this issue Feb 16, 2021 · 1 comment

Comments

@pgierz
Copy link

pgierz commented Feb 16, 2021

Hello,

I know that I can manually edit the frequency database with pazi edit

However, if I want to programmatically edit it (send it through sed, or something), I need to know where the actual file for that is. I was unable to find any hints to this in the documentation, and I don't know enough rust to figure it out from the source code....

Thanks!

@euank
Copy link
Owner

euank commented Feb 16, 2021

It's stored in $XDG_CONFIG_HOME/pazi, which defaults to ~/.config/pazi on most systems.

Programmatically editing it won't be as easy as using sed since it's stored in msgpack rather than a text-based format.

I'll leave this open as a reminder to mention this in docs somewhere since even though it's not really editable, someone might want to know what to delete to do a complete uninstall.

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