dshoreman / nextshot

A simple tool for taking screenshots on Linux and sharing via Nextcloud
GNU General Public License v2.0
41 stars 3 forks source link

Add option to prune old images from cache #62

Closed dshoreman closed 4 years ago

dshoreman commented 4 years ago

Adds a --prune-cache option so that images older than 30 days in ~/.cache/nextshot can be pruned on-demand.

There's scope to extend this further, allowing for auto-pruning either by cron or at runtime, but this can be added later.