Limit how many backups are kept?

In setting up a new computer I noticed that Hookmark had created 60 gb of backups. Is there a way to limit this to, say the most recent two weeks of backups?

Sorry we don’t have a setting for the most recent backups.

Butyou can run the following command inTerminal.app to limit the number of backups of Hookmark’s database:

defaults write com.cogsciapps.hook database.backup.limit n

Thank you

3 Likes

Just adding my 2 cents, in case someone else needs it: I don’t want a certain number of backups, for I don’t control how many backups Hookmark does (or will do in the future) in a day/week/month. I use Hazel to delete backups based on their last modified date. The backups are in ~/Library/Application Support/com.cogsciapps.hook

4 Likes

Thanks for this Hazel rule! I’d forgotten about the problem, and then I just discovered that I have 6 GB of backups! There has to be a better way!

@LucB Any way of building limits in?

For example, wouldn’t it be possible to have a setting or a startup question that corresponds to this:

defaults write com.cogsciapps.hook database.backup.limit 5 (or some other default)

Seems simple, and all those 100+MB backups seems like a lot of cruft.

Isn’t that exactly what that does?

Actually, this won’t work without changing “Name” to “Full Name”. See this for more info.