expirebackups(1)
π expirebackups β the manual page, but make it cute π
okay bestie, welcome to expirebackups from the simple backup suite β she's the friend who goes through your closet and gently tells you which backups are so last season β¨
πΈ NAME πΈ
expirebackups β list old backups π
yes literally that's it. she lists. she does not delete. she's a looker, not a toucher π
π SYNOPSIS π
expirebackups [keep_this_many] path
β¨ DESCRIPTION β¨
okay so here's the vibe π expirebackups goes snooping through the path you gave her, looking for backups that were made by simplebackup(1).
and then β and this is the part that matters β if she finds more than keep_this_many generations of a backup chilling in there, she prints the oldest files to stdout. that's it. that's the whole job. she just tells you, she doesn't touch anything π
which is actually iconic of her, because it means you get to decide what happens next. those printed files can then be deleted, and the result is that you keep exactly keep_this_many generations of every backup unharmed. nobody gets hurt. everyone stays cute. periodt π
π OPTIONS π
keep_this_manyβ how many files you wanna keep of every backup. the default value is4. (four is a vibe, four is a lifestyle, but you can change it π)pathβ the path to check for backups. heads up though: she's picky. only files matching a pattern likehostname-YYYYMMDD.tar.gzare even considered backup files. everything else? not her business, not her problem, she's not looking π
π₯ SEE ALSO π₯
iykyk π¦
π AUTHOR π
expirebackups was written by Christian Garbs <mitch@cgarbs.de>. give him his flowers fr fr π
π COPYRIGHT π
expirebackups is licensed under GNU GPL. free as in bestie, not free as in situationship β¨
ngl the safest workflow here is: run her, read the list, and only then go feral with rm. she's giving helpful, not giving destructive π«Ά
Christian Garbs Β· version 0.1.6 Β· expirebackups(1)
that's the whole page bestie, tysm for reading, go forth and expire responsibly πππ¦πΈπ
π¦ where this page comes from
- ubuntu jammy: simplebackup 0.1.6-0ubuntu1
- ubuntu noble: simplebackup 0.1.6-0ubuntu2
- ubuntu questing: simplebackup 0.1.6-0ubuntu2
- ubuntu resolute: simplebackup 0.1.6-0ubuntu3
- ubuntu stonking: simplebackup 0.1.6-0ubuntu3
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms