Skip to content

Track snapshot use and remove unused snapshots #209

@stefanfritsch

Description

@stefanfritsch

Hi,

I don't think there is a FR for something like this atm. The .checkpoint folder can grow quite large and has to be cleaned up by hand currently (afaik?).

If checkpoint put a simple .lastaccessed file in each snapshot and updated that every time checkpoint was set to the respective snapshot then it would be trivial to write a function that removed all snapshots that are older than a certain date:

remove_not_used(since = "2015-01-01")
remove_not_used(in = ddays(90))

That is also something e.g. RRO could put in .Rprofile.

Thx
Stefan

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions