[Feature request] Option to extract/mount lastest archive #289
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
It would be practical to have an option that automatically mounts or extract the latest archive in a repository instead of requiring user to specify the archive name. This way the same command could be reuse without changes (easier to alias).
Examples:
That's a fantastic idea.. and something that I've often wanted myself. I think the syntax I'd use though is
--archive latest, just for ease/consistency of argument parsing. And I could imagine this working for all actions that take an--archiveargument, not justextractandmount.This is implemented in master now.. It'll be part of the next release. Thanks for the ticket!
This is now released in borgmatic 1.5.1!
Nice! Thank you for the quick implementation.