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

Add --keep, --min-atime and --min-mtime flags to aura -Bc #952

Open
AmmoniumX opened this issue Oct 26, 2024 · 1 comment
Open

Add --keep, --min-atime and --min-mtime flags to aura -Bc #952

AmmoniumX opened this issue Oct 26, 2024 · 1 comment
Labels
request A feature request from a user.

Comments

@AmmoniumX
Copy link

It would be great if aura had support for the same cleanup arguments that paccache -r does. This would allow users to schedule cleanup of package snapshots depending on their specific needs, e.g. number of snapshots or time since last modified.

Specifically, these paccache flags would be great:

-k, --keep <num>        keep "num" of each package in the cache (default: 3)
--min-atime <time>
--min-mtime <time>  keep packages with an atime/mtime that is not older than the time given, 
even if this means keeping more than specified through the '--keep' option. 
Accepts arguments according to 'info "Date input formats"', e.g. '30 days ago'
@fosskers
Copy link
Owner

Thanks, I'll consider these.

@fosskers fosskers added the request A feature request from a user. label Oct 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
request A feature request from a user.
Projects
None yet
Development

No branches or pull requests

2 participants