Skip to content
This repository has been archived by the owner on Jan 16, 2023. It is now read-only.

RFE: More and better cache handling options #426

Open
contyk opened this issue Nov 24, 2020 · 0 comments
Open

RFE: More and better cache handling options #426

contyk opened this issue Nov 24, 2020 · 0 comments

Comments

@contyk
Copy link
Contributor

contyk commented Nov 24, 2020

The default -c option is nice but as the manpage suggests, one should also remove the now empty directories. It would be nice if directory cleanup were part of the -c action, saving inodes and such.

Additionally I would like to suggest -C option that does the opposite. Takes the path arguments, creates their thumbnails, and exits. So that the user doesn't have to wait for thumbnails to be generated the first time they open the files.

Both of these would make for a nice cronjob. Build, clean. Or the other way around. Even better if they can be combined. I imagine something like fd -tf '\.(gif|jpe?g|png)$' ~ | sxiv -c -C -.

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

No branches or pull requests

1 participant