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

Linux: Store cache in the ~/.cache/czkawka directory #196

Closed
alexislefebvre opened this issue Jan 11, 2021 · 0 comments · Fixed by #197
Closed

Linux: Store cache in the ~/.cache/czkawka directory #196

alexislefebvre opened this issue Jan 11, 2021 · 0 comments · Fixed by #197

Comments

@alexislefebvre
Copy link
Contributor

Since #139 (which was a great addition!), the hashes of similar images are stored in a cache.

On Linux, the cache is stored in ~/.config/czkawka: https://github.com/qarmin/czkawka/blob/9a0432d237b21f6a7951bc6d6a9f06c5a3047bd1/instructions/Instruction.md#configcache-files

I think it would be better to store the cache in ~/.cache/czkawka. The freedesktop spec recommend to use it:

$XDG_CACHE_HOME defines the base directory relative to which user specific non-essential data files should be stored. If $XDG_CACHE_HOME is either not set or empty, a default equal to $HOME/.cache should be used.

Source: https://specifications.freedesktop.org/basedir-spec/latest/ar01s03.html

@alexislefebvre alexislefebvre changed the title Store cache in the ~/.cache/czkawka directory Linux: Store cache in the ~/.cache/czkawka directory Jan 11, 2021
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

Successfully merging a pull request may close this issue.

1 participant