List the files of an archive #140

Closed
opened 2019-02-19 08:32:35 +00:00 by varac · 5 comments

It would be great to have the ability to list the files of an archive, which would be done in borg list ${BORG_REPO}::${BORG_SET} and could be implemented with borgmatic --list --archive ${BORG_SET}. Right now it complains about it:

borgmatic --list --archive varac-2019-02-18T12:17:04.114434
The --archive option can only be used with the --extract option

It would be great to have the ability to list the files of an archive, which would be done in `borg list ${BORG_REPO}::${BORG_SET}` and could be implemented with `borgmatic --list --archive ${BORG_SET}`. Right now it complains about it: ``` borgmatic --list --archive varac-2019-02-18T12:17:04.114434 The --archive option can only be used with the --extract option ```
Owner

Totally agreed that this would be pretty handy. But so that I make sure I understand your use case, can you talk about the situation in which you'd want to use this feature?

Totally agreed that this would be pretty handy. But so that I make sure I understand your use case, can you talk about the situation in which you'd want to use this feature?
Author

I.e. I know the name of the (deleted) file I want to restore, but not the location anymore. Grepping through the output of this cmd helps me find it.

I.e. I know the name of the (deleted) file I want to restore, but not the location anymore. Grepping through the output of this cmd helps me find it.
Owner

Got it, thanks!

Got it, thanks!
witten added the
design finalized
label 2019-02-23 22:50:13 +00:00
Owner

This is now implemented as specified above, and released in borgmatic 1.2.17. Enjoy!

This is now implemented as specified above, and released in borgmatic 1.2.17. Enjoy!
Author

👍

:+1:
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: borgmatic-collective/borgmatic#140
No description provided.