feat(prune): add prune files feature

This feature allows you to specify the n latest backups to keep in the
bucket.
This commit is contained in:
2023-11-09 21:56:15 -05:00
parent d316b8ff4b
commit 21db79a333
5 changed files with 127 additions and 49 deletions

2
go.mod
View File

@@ -1,6 +1,6 @@
module backup-tool
go 1.21
go 1.18
require (
github.com/dustin/go-humanize v1.0.1 // indirect